diff --git a/projects/mercury/src/layout/MainMenu.js b/projects/mercury/src/layout/MainMenu.js index 7b530e7eb..567524c25 100644 --- a/projects/mercury/src/layout/MainMenu.js +++ b/projects/mercury/src/layout/MainMenu.js @@ -6,10 +6,10 @@ import {Button, Icon, Stack} from '@mui/material'; import {Search, SavedSearch, Folder, FolderSpecial, OpenInNew, VerifiedUser, Widgets} from '@mui/icons-material'; import ChatIcon from '@mui/icons-material/Chat'; import HomeIcon from '@mui/icons-material/Home'; +import FeaturesContext from '../common/contexts/FeaturesContext'; import ServicesContext from '../common/contexts/ServicesContext'; import UserContext from '../users/UserContext'; import {isAdmin} from '../users/userUtils'; -import FeaturesContext from '../common/contexts/FeaturesContext'; import MetadataViewContext from '../metadata/views/MetadataViewContext'; import ExternalStoragesContext from '../external-storage/ExternalStoragesContext'; import ExternalMetadataSourceContext from '../metadata/metadata-sources/ExternalMetadataSourceContext'; @@ -54,11 +54,6 @@ const styles = theme => ({ }, iconRoot: { textAlign: 'center' - }, - divider: { - marginTop: 7, - marginBottom: 7, - borderBottom: '1.5px solid ' + theme.palette.primary.dark } }); const MainMenu = ({open, classes}) => { @@ -69,7 +64,6 @@ const MainMenu = ({open, classes}) => { const {externalMetadataSources} = useContext(ExternalMetadataSourceContext); const {internalMetadataIcon, internalMetadataLabel} = useContext(InternalMetadataSourceContext); const {views} = useContext(MetadataViewContext); - const {isFeatureEnabled} = useContext(FeaturesContext); const useLlmSearch = isFeatureEnabled('LlmSearch'); diff --git a/projects/saturn/application.yaml b/projects/saturn/application.yaml index c08cd1cd5..63dd1fe1a 100644 --- a/projects/saturn/application.yaml +++ b/projects/saturn/application.yaml @@ -47,8 +47,10 @@ auth: webDAV: # Path of the WebDAV's local blob store blobStorePath: "data/blobs" +# Enable feature flags, like 'ExtraStorage' and 'LlmSearch' features: - ExtraStorage + - LlmSearch viewDatabase: enabled: true url: jdbc:postgresql://localhost:9432/fairspace