Skip to content

Commit

Permalink
Fixed main menu after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyhollywood committed Jun 17, 2024
1 parent 80f72bf commit cfb8f12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 1 addition & 7 deletions projects/mercury/src/layout/MainMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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}) => {
Expand All @@ -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');

Expand Down
2 changes: 2 additions & 0 deletions projects/saturn/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cfb8f12

Please sign in to comment.