From 17c06cfb84cf57288725efaf7a442cc692fdafe5 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 31 Mar 2021 19:58:30 +0100 Subject: [PATCH] Import image assets as needed to allow proper bundling --- .../DataTable/TableLoadingOverlay/LoadingOverlay.svelte | 3 ++- .../builder/src/components/start/CreateAppModal.svelte | 3 ++- .../builder/src/pages/builder/[application]/_reset.svelte | 3 ++- .../src/pages/builder/[application]/deploy/index.svelte | 7 +++---- packages/builder/src/pages/builder/_layout.svelte | 6 ++---- packages/builder/src/pages/builder/index.svelte | 3 ++- packages/builder/vite.config.js | 1 + 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/TableLoadingOverlay/LoadingOverlay.svelte b/packages/builder/src/components/backend/DataTable/TableLoadingOverlay/LoadingOverlay.svelte index df2e68fd12..9d4f0f10ba 100644 --- a/packages/builder/src/components/backend/DataTable/TableLoadingOverlay/LoadingOverlay.svelte +++ b/packages/builder/src/components/backend/DataTable/TableLoadingOverlay/LoadingOverlay.svelte @@ -1,11 +1,12 @@
- Budibase icon + Budibase icon Loading Your Data
diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index f060450f69..896b217a17 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -19,6 +19,7 @@ import { post } from "builderStore/api" import analytics from "analytics" import { onMount } from "svelte" + import Logo from "/assets/bb-logo.svg" //Move this to context="module" once svelte-forms is updated so that it can bind to stores correctly const createAppStore = writable({ currentStep: 0, values: {} }) @@ -242,7 +243,7 @@ {/if}
- budibase icon + budibase icon {#if submitting}
diff --git a/packages/builder/src/pages/builder/[application]/_reset.svelte b/packages/builder/src/pages/builder/[application]/_reset.svelte index b8504e4f21..5cbf5252c4 100644 --- a/packages/builder/src/pages/builder/[application]/_reset.svelte +++ b/packages/builder/src/pages/builder/[application]/_reset.svelte @@ -6,6 +6,7 @@ import FeedbackNavLink from "components/feedback/FeedbackNavLink.svelte" import { get } from "builderStore/api" import { isActive, goto, layout } from "@roxi/routify" + import Logo from "/assets/bb-logo.svg" // Get Package and set store export let application @@ -49,7 +50,7 @@
diff --git a/packages/builder/src/pages/builder/[application]/deploy/index.svelte b/packages/builder/src/pages/builder/[application]/deploy/index.svelte index 7f519de853..83126c6047 100644 --- a/packages/builder/src/pages/builder/[application]/deploy/index.svelte +++ b/packages/builder/src/pages/builder/[application]/deploy/index.svelte @@ -1,13 +1,12 @@
- - +