From d1a089f22c2ca1c3fee3f707e12eb3e5e42075b0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 5 Jul 2023 09:31:37 +0100 Subject: [PATCH] Fix publish action from command palette --- .../src/components/commandPalette/CommandPalette.svelte | 4 ++-- packages/builder/src/components/deploy/AppActions.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/commandPalette/CommandPalette.svelte b/packages/builder/src/components/commandPalette/CommandPalette.svelte index 5421e2f123..f77736055e 100644 --- a/packages/builder/src/components/commandPalette/CommandPalette.svelte +++ b/packages/builder/src/components/commandPalette/CommandPalette.svelte @@ -208,8 +208,8 @@ async function deployApp() { try { - await API.deployAppChanges() - notifications.success("Application published successfully") + await API.publishAppChanges($store.appId) + notifications.success("App published successfully") } catch (error) { notifications.error("Error publishing app") } diff --git a/packages/builder/src/components/deploy/AppActions.svelte b/packages/builder/src/components/deploy/AppActions.svelte index 7fc545ce44..49d23a8d2c 100644 --- a/packages/builder/src/components/deploy/AppActions.svelte +++ b/packages/builder/src/components/deploy/AppActions.svelte @@ -87,7 +87,7 @@ try { publishing = true await API.publishAppChanges($store.appId) - notifications.send("App published", { + notifications.send("App published successfully", { type: "success", icon: "GlobeCheck", })