Skip to content

Commit

Permalink
Merge pull request #1479 from thehyve/label-change
Browse files Browse the repository at this point in the history
Label value from constants
  • Loading branch information
frankyhollywood authored Feb 5, 2024
2 parents d0bc331 + e8b5c10 commit 5bd0cc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/mercury/src/layout/MainMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import ExternalStoragesContext from "../external-storage/ExternalStoragesContext
import ExternalMetadataSourceContext from "../metadata/external-sources/ExternalMetadataSourceContext";
import {getExternalStoragePathPrefix} from "../external-storage/externalStorageUtils";
import {getExternalMetadataSourcePathPrefix} from "../metadata/external-sources/externalMetadataSourceUtils";
import {METADATA_VIEW_MENU_LABEL} from "../constants";

const styles = {
mainMenuButton: {
Expand Down Expand Up @@ -86,7 +87,7 @@ const MainMenu = ({classes}) => {
<ListItemIcon>
<Search />
</ListItemIcon>
<ListItemText primary="Metadata" />
<ListItemText primary={METADATA_VIEW_MENU_LABEL} />
</ListItemButton>
)}
{currentUser.canViewPublicMetadata && externalMetadataSources && externalMetadataSources.map(source => (
Expand Down

0 comments on commit 5bd0cc5

Please sign in to comment.