diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/NavigationEditor/NavigationEditor.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/NavigationEditor/NavigationEditor.svelte index b7a272e608..ea02b4184d 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/NavigationEditor/NavigationEditor.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/NavigationEditor/NavigationEditor.svelte @@ -2,13 +2,15 @@ import { Button, ActionButton, Drawer } from "@budibase/bbui" import { createEventDispatcher } from "svelte" import NavigationDrawer from "./NavigationDrawer.svelte" + import { cloneDeep } from "lodash/fp" export let value = [] let drawer + let links = cloneDeep(value) const dispatch = createEventDispatcher() const save = () => { - dispatch("change", value) + dispatch("change", links) drawer.hide() } @@ -19,5 +21,5 @@ Configure the links in your navigation bar. - +