From f63861771e51842349aff5b7cbf4306783c66c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 26 Apr 2021 14:21:30 +0200 Subject: [PATCH] More ActionMenu conversion --- .../popovers/EditDatasourcePopover.svelte | 4 +-- .../popovers/EditQueryPopover.svelte | 9 +++--- .../LayoutDropdownMenu.svelte | 28 ++++++------------- .../ScreenDropdownMenu.svelte | 3 +- 4 files changed, 15 insertions(+), 29 deletions(-) diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte index fa19eb1d01..a2403b945b 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte @@ -32,11 +32,11 @@ } - +
- Delete + Delete
- import { notifications } from "@budibase/bbui" - import { ActionMenu, MenuItem, Icon, Popover } from "@budibase/bbui" + import { ActionMenu, MenuItem, Icon, Popover, notifications } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" - import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" + import { queries } from "stores/backend" export let query @@ -25,11 +24,11 @@ } - +
- Delete + Delete
-
-
dropdown.show()}> - + +
+
- - - editLayoutNameModal.show()} - /> - confirmDeleteDialog.show()} - /> - - -
+ Edit + Delete + +