[SSE mobile] Fix Bug 49377

This commit is contained in:
SergeyEzhin 2021-06-28 15:25:27 +03:00
parent 7117a546c0
commit 63eb843170

View file

@ -26,6 +26,11 @@ const PageGroup = ({name, type, functions, onInsertFunction, f7router}) => {
if (functions[k].group == type) if (functions[k].group == type)
items.push(functions[k]); items.push(functions[k]);
} }
items.sort(function(a, b) {
return (a.caption.toLowerCase() > b.caption.toLowerCase()) ? 1 : -1;
});
return ( return (
<Page> <Page>
<Navbar title={name} backLink={_t.textBack}/> <Navbar title={name} backLink={_t.textBack}/>
@ -88,6 +93,7 @@ const AddFunction = props => {
name: name name: name
}) })
} }
return ( return (
<Fragment> <Fragment>
<List> <List>