diff --git a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte index 685e3a54e4..c7295e9032 100644 --- a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte +++ b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte @@ -3,7 +3,7 @@ import { store, allScreens } from "builderStore" import { notifications } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" - import { Icon, Popover } from "@budibase/bbui" + import { ActionMenu, MenuItem, Icon, Popover } from "@budibase/bbui" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" export let screenId @@ -25,22 +25,20 @@ notifications.error("Error deleting screen") } } + + const openModal = () => { + confirmDeleteDialog.show() + dropdown.hide() + } -
-
dropdown.show()}> + +
- - - confirmDeleteDialog.show()} - /> - - -
+ Delete + +