diff --git a/packages/builder/src/components/design/NavigationPanel/ComponentDropdownMenu.svelte b/packages/builder/src/components/design/NavigationPanel/ComponentDropdownMenu.svelte index 475ec1a54d..b99f0b3cfb 100644 --- a/packages/builder/src/components/design/NavigationPanel/ComponentDropdownMenu.svelte +++ b/packages/builder/src/components/design/NavigationPanel/ComponentDropdownMenu.svelte @@ -3,7 +3,7 @@ import { store, currentAsset } from "builderStore" import ConfirmDialog from "components/common/ConfirmDialog.svelte" import { findComponentParent } from "builderStore/storeUtils" - import { Icon, Popover } from "@budibase/bbui" + import { ActionMenu, MenuItem, MenuSection, Icon, Popover } from "@budibase/bbui" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" export let component @@ -72,62 +72,20 @@ } -
-
- - - confirmDeleteDialog.show()} - /> - - - - storeComponentForCopy(true)} - /> - storeComponentForCopy(false)} - /> -
- pasteComponent("above")} - /> - pasteComponent("below")} - /> - pasteComponent("inside")} - /> -
-
-
+ +
+ +
+ Delete + Move up + Move down + Duplicate + storeComponentForCopy(true)}>Cut + storeComponentForCopy(false)}>Copy + pasteComponent("above")} disabled={noPaste}>Paste above + pasteComponent("below")} disabled={noPaste}>Paste below + pasteComponent("inside")} disabled={noPaste || noChildrenAllowed}>Paste inside +