Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/shibui-2394' into featur…
Browse files Browse the repository at this point in the history
…e/shibui-2394
  • Loading branch information
chasegawa committed Oct 28, 2022
2 parents cbb44e9 + 3eb9058 commit cefb930
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/app/metadata/view/MetadataOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { MetadataFilterConfigurationList } from '../domain/filter/component/Meta
import { MetadataFilterTypes } from '../domain/filter';
import { useMetadataSchema } from '../hooks/schema';
import { FilterableProviders } from '../domain/provider';
import { useCanEnable, useIsAdmin, useIsApprover } from '../../core/user/UserContext';
import { useCanEnable, useIsAdmin } from '../../core/user/UserContext';

export function MetadataOptions ({reload}) {

Expand Down Expand Up @@ -54,7 +54,6 @@ export function MetadataOptions ({reload}) {

const canEnable = useCanEnable()(metadata.approved);
const isAdmin = useIsAdmin();
const canApprove = useIsApprover();

return (
<MetadataActions type={type}>
Expand Down

0 comments on commit cefb930

Please sign in to comment.