diff --git a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte index 3d1d98cc81..061265d7de 100644 --- a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte @@ -2,26 +2,14 @@ import { goto } from "@roxi/routify" import { automationStore } from "builderStore" import { database } from "stores/backend" - import { notifications } from "@budibase/bbui" - import { Icon, Popover } from "@budibase/bbui" - import { - DropdownContainer, - DropdownItem, - } from "components/common/Dropdowns" + import { ActionMenu, MenuItem, notifications, Icon } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" export let automation - let anchor - let dropdown let confirmDeleteDialog $: instanceId = $database._id - function showModal() { - dropdown.hide() - confirmDeleteDialog.show() - } - async function deleteAutomation() { await automationStore.actions.delete({ instanceId, @@ -32,20 +20,15 @@ } -