diff --git a/src/lib/components/layouts/AddOnLayout.svelte b/src/lib/components/layouts/AddOnLayout.svelte index 5a6f58967..70b5986b7 100644 --- a/src/lib/components/layouts/AddOnLayout.svelte +++ b/src/lib/components/layouts/AddOnLayout.svelte @@ -26,6 +26,7 @@ import Tab from "../common/Tab.svelte"; import { schedules } from "../addons/ScheduledEvent.svelte"; + import { getProcessLoader } from "../processing/ProcessContext.svelte"; export let addon: AddOnListItem; export let event: Event | null = null; @@ -64,6 +65,8 @@ } } + const load = getProcessLoader(); + // go to the correct tab after submitting function onDispatch({ detail }) { if (detail.type === "event") { @@ -72,6 +75,8 @@ if (detail.type === "run") { currentTab = "history"; + // load processing data + load?.(); } }