From 7bf256ac7924338d174cb7379483bbdcbc782f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 23 Apr 2021 14:06:42 +0200 Subject: [PATCH] switch out remix icon --- .../ScreenDropdownMenu.svelte | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte index 3e8fe0d408..685e3a54e4 100644 --- a/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte +++ b/packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/ScreenDropdownMenu.svelte @@ -3,7 +3,7 @@ import { store, allScreens } from "builderStore" import { notifications } from "@budibase/bbui" import ConfirmDialog from "components/common/ConfirmDialog.svelte" - import { Popover } from "@budibase/bbui" + import { Icon, Popover } from "@budibase/bbui" import { DropdownContainer, DropdownItem } from "components/common/Dropdowns" export let screenId @@ -12,7 +12,7 @@ let dropdown let anchor - $: screen = $allScreens.find(screen => screen._id === screenId) + $: screen = $allScreens.find((screen) => screen._id === screenId) const deleteScreen = () => { try { @@ -29,23 +29,25 @@
dropdown.show()}> - +
confirmDeleteDialog.show()} /> + on:click={() => confirmDeleteDialog.show()} + />
+ onOk={deleteScreen} +/>