From 3ac72ec42b3b4c85168f373c709d7dcc1aefc4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 23 Apr 2021 12:34:56 +0200 Subject: [PATCH] more remix replacements --- .../LayoutDropdownMenu.svelte | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/LayoutDropdownMenu.svelte b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/LayoutDropdownMenu.svelte index a356ea27b0..cd340dce95 100644 --- a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/LayoutDropdownMenu.svelte +++ b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/LayoutDropdownMenu.svelte @@ -2,7 +2,7 @@ import { store } from "builderStore" import { notifications } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" - import { Popover, Modal, ModalContent, Input } from "@budibase/bbui" + import { Icon, Popover, Modal, ModalContent, Input } from "@budibase/bbui" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" import { cloneDeep } from "lodash/fp" @@ -35,42 +35,40 @@ } -
+
dropdown.show()}> - +
editLayoutNameModal.show()} /> + on:click={() => editLayoutNameModal.show()} + /> confirmDeleteDialog.show()} /> + on:click={() => confirmDeleteDialog.show()} + />
+ onOk={deleteLayout} +/> + disabled={!name} + > - -