diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte index c0cd195431..fa19eb1d01 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte @@ -2,13 +2,12 @@ import { goto } from "@roxi/routify" import { datasources } from "stores/backend" import { notifications } from "@budibase/bbui" - import { Icon, Popover } from "@budibase/bbui" + import { ActionMenu, MenuItem, Icon, Popover } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" export let datasource - let anchor let dropdown let confirmDeleteDialog @@ -23,8 +22,6 @@ async function deleteDatasource() { const wasSelectedSource = $datasources.selected - console.log(wasSelectedSource) - console.log(datasource) await datasources.delete(datasource) notifications.success("Datasource deleted") // navigate to first index page if the source you are deleting is selected @@ -35,21 +32,13 @@ } -
-
+ +
- - - - - -
+ Delete + + import { notifications } from "@budibase/bbui" - import { Icon, Popover } from "@budibase/bbui" + import { ActionMenu, MenuItem, Icon, Popover } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" export let query - - let anchor + let dropdown let confirmDeleteDialog @@ -26,21 +25,13 @@ } -
-
+ +
- - - - - -
+ Delete + +