Skip to content

Commit

Permalink
MSCR-491 Fix metadata tab action menu permission logic
Browse files Browse the repository at this point in the history
  • Loading branch information
maariaw committed Jun 18, 2024
1 parent 242e1f5 commit ecd7bdd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mscr-ui/src/modules/form/metadata-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,7 @@ export default function MetadataForm({
metadata={metadata}
isMappingsEditModeActive={isEditModeActive}
refetchMetadata={refetchMetadata}
type={
type === Type.Schema
? ActionMenuTypes.SchemaMetadata
: ActionMenuTypes.CrosswalkMetadata
}
type={ActionMenuTypes.NoEditPermission}
/>
)}
</Grid>
Expand Down

0 comments on commit ecd7bdd

Please sign in to comment.