diff --git a/packages/bbui/src/ActionMenu/ActionMenu.svelte b/packages/bbui/src/ActionMenu/ActionMenu.svelte
index 45bb65b527..08425e8f59 100644
--- a/packages/bbui/src/ActionMenu/ActionMenu.svelte
+++ b/packages/bbui/src/ActionMenu/ActionMenu.svelte
@@ -23,8 +23,11 @@
dropdown.show()
}
- const openMenu = () => {
- if (!disabled) show()
+ const openMenu = event => {
+ if (!disabled) {
+ event.stopPropagation()
+ show()
+ }
}
setContext("actionMenu", { show, hide })
diff --git a/packages/builder/src/components/backend/DatasourceNavigator/modals/UpdateDatasourceModal.svelte b/packages/builder/src/components/backend/DatasourceNavigator/modals/UpdateDatasourceModal.svelte
new file mode 100644
index 0000000000..561548fb59
--- /dev/null
+++ b/packages/builder/src/components/backend/DatasourceNavigator/modals/UpdateDatasourceModal.svelte
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte
index 71a85f38fb..7f2f104278 100644
--- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte
+++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditDatasourcePopover.svelte
@@ -4,10 +4,12 @@
import { notifications } from "@budibase/bbui"
import { ActionMenu, MenuItem, Icon } from "@budibase/bbui"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"
+ import UpdateDatasourceModal from "components/backend/DatasourceNavigator/modals/UpdateDatasourceModal.svelte"
export let datasource
let confirmDeleteDialog
+ let updateDatasourceDialog
async function deleteDatasource() {
const wasSelectedSource = $datasources.selected
@@ -24,6 +26,7 @@
+
@@ -37,6 +40,7 @@
{datasource.name}?
This action cannot be undone.
+