Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
feat: Change order of actions in dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuf-musleh committed Jan 21, 2024
1 parent 5005a5f commit e82df12
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/library-authoring/author-library/LibraryAuthoringPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,18 @@ export const BlockPreviewBase = ({
iconAs={Icon}
/>
<Dropdown.Menu align="right">
<Dropdown.Item
aria-label={intl.formatMessage(messages['library.detail.block.delete'])}
onClick={() => setShowDeleteModal(true)}
>
{intl.formatMessage(messages['library.detail.block.delete'])}
</Dropdown.Item>
<Dropdown.Item
aria-label={intl.formatMessage(messages['library.detail.block.manage_tags'])}
onClick={() => setOpenContentTagsDrawer(block.id)}
>
{intl.formatMessage(messages['library.detail.block.manage_tags'])}
</Dropdown.Item>
<Dropdown.Item
aria-label={intl.formatMessage(messages['library.detail.block.delete'])}
onClick={() => setShowDeleteModal(true)}
>
{intl.formatMessage(messages['library.detail.block.delete'])}
</Dropdown.Item>
</Dropdown.Menu>
</Dropdown>
</OverlayTrigger>
Expand Down

0 comments on commit e82df12

Please sign in to comment.