diff --git a/packages/builder/src/builderStore/store/backend.js b/packages/builder/src/builderStore/store/backend.js index fec21a467e..3835f44d64 100644 --- a/packages/builder/src/builderStore/store/backend.js +++ b/packages/builder/src/builderStore/store/backend.js @@ -28,6 +28,11 @@ export const getBackendUiStore = () => { }, }, records: { + save: () => + store.update(state => { + state.selectedView = state.selectedView + return state + }), delete: () => store.update(state => { state.selectedView = state.selectedView diff --git a/packages/builder/src/components/common/Dropzone.svelte b/packages/builder/src/components/common/Dropzone.svelte index 58c4bbd678..a36a40c6d7 100644 --- a/packages/builder/src/components/common/Dropzone.svelte +++ b/packages/builder/src/components/common/Dropzone.svelte @@ -2,7 +2,6 @@ import { Heading, Body, Button } from "@budibase/bbui" import { FILE_TYPES } from "constants/backend" import api from "builderStore/api" - import { fade } from "svelte/transition" export let files = [] @@ -80,9 +79,10 @@ on:dragenter={handleDragOver} on:drop={handleDrop} class:fileDragged> +