diff --git a/packages/builder/src/components/backend/DataTable/popovers/RowPopover.svelte b/packages/builder/src/components/backend/DataTable/popovers/RowPopover.svelte index ec1e2bb783..b20af655a1 100644 --- a/packages/builder/src/components/backend/DataTable/popovers/RowPopover.svelte +++ b/packages/builder/src/components/backend/DataTable/popovers/RowPopover.svelte @@ -1,10 +1,11 @@ -
- +
+
+ +
+ + {#if editing} +
+
Edit Table
+ +
+ + +
+
+ {:else} + + + + + {/if} +
- - {#if editing} -
-
Edit Table
- -
- - -
-
- {:else} -
    -
  • - - Edit -
  • -
  • - - Delete -
  • -
- {/if} -
diff --git a/packages/builder/src/components/backend/TableNavigator/popovers/EditViewPopover.svelte b/packages/builder/src/components/backend/TableNavigator/popovers/EditViewPopover.svelte index 9c165355d2..347f03ac22 100644 --- a/packages/builder/src/components/backend/TableNavigator/popovers/EditViewPopover.svelte +++ b/packages/builder/src/components/backend/TableNavigator/popovers/EditViewPopover.svelte @@ -2,9 +2,9 @@ import { goto } from "@sveltech/routify" import { backendUiStore } from "builderStore" import { notifier } from "builderStore/store/notifications" - import { DropdownMenu, Button, Icon, Input, Select } from "@budibase/bbui" - import { FIELDS } from "constants/backend" + import { DropdownMenu, Button, Input } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" + import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" export let view @@ -46,32 +46,31 @@ } -
- +
+
+ +
+ + {#if editing} +
+
Edit View
+ +
+ + +
+
+ {:else} + + + + + {/if} +
- - {#if editing} -
-
Edit View
- -
- - -
-
- {:else} -
    -
  • - - Edit -
  • -
  • - - Delete -
  • -
- {/if} -