diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-07-12 17:05:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 17:05:17 -0700 |
commit | 13a16a9ce640060b87ee00955c99855e9e4e2fe2 (patch) | |
tree | f742b820257f3e15c90fc545f20fa4f7f06a7821 /modern/src/settings/ComputedAttributesPage.js | |
parent | ae822a2a39a38e3f3715c4573835b0ecd8646fa4 (diff) | |
parent | ea4ec2d769866db3490514b429cd95d314d19141 (diff) | |
download | trackermap-web-13a16a9ce640060b87ee00955c99855e9e4e2fe2.tar.gz trackermap-web-13a16a9ce640060b87ee00955c99855e9e4e2fe2.tar.bz2 trackermap-web-13a16a9ce640060b87ee00955c99855e9e4e2fe2.zip |
Merge pull request #874 from dkyeremeh/group-config
Configurations And settings
Diffstat (limited to 'modern/src/settings/ComputedAttributesPage.js')
-rw-r--r-- | modern/src/settings/ComputedAttributesPage.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/settings/ComputedAttributesPage.js b/modern/src/settings/ComputedAttributesPage.js index f555259b..9f131d33 100644 --- a/modern/src/settings/ComputedAttributesPage.js +++ b/modern/src/settings/ComputedAttributesPage.js @@ -4,10 +4,10 @@ import { } from '@material-ui/core'; import MoreVertIcon from '@material-ui/icons/MoreVert'; import { useSelector } from 'react-redux'; -import MainToolbar from '../MainToolbar'; import t from '../common/localization'; import { useEffectAsync } from '../reactHelper'; import EditCollectionView from '../EditCollectionView'; +import OptionsLayout from './OptionsLayout'; const useStyles = makeStyles((theme) => ({ columnAction: { @@ -65,10 +65,10 @@ const ComputedAttributeView = ({ updateTimestamp, onMenuClick }) => { }; const ComputedAttributesPage = () => ( - <> - <MainToolbar /> + <OptionsLayout> + <EditCollectionView content={ComputedAttributeView} editPath="/settings/attribute" endpoint="attributes/computed" /> - </> + </OptionsLayout> ); export default ComputedAttributesPage; |