Skip to content

Commit

Permalink
Merge pull request #553 from prezly/feature/care-4612-remove-embed-op…
Browse files Browse the repository at this point in the history
…tion-if-not-revelant

[CARE-4612] Fix - Hide embed option if it's not available
  • Loading branch information
kudlajz authored Jul 15, 2024
2 parents 6a8425d + 1f22cfd commit ae07001
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function getPresentationOptions(element: BookmarkNode): OptionsGroupOption<Prese
value: 'link',
label: 'Link',
},
];
].filter(({ disabled }) => !disabled) as OptionsGroupOption<Presentation>[];
}

export const WebBookmarkMenu: FunctionComponent<Props> = ({
Expand Down

0 comments on commit ae07001

Please sign in to comment.