Restore missing code

This commit is contained in:
Andrew Kingston 2024-12-18 12:11:30 +00:00
parent ceb6175ab1
commit 1f08d6b496
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@
$: builderStore.selectResource(automationId)
const stopSyncing = syncURLToState({
urlParam: "automationId",
stateKey: "selectedAutomationId",
validate: id => $automationStore.automations.some(x => x._id === id),
fallbackUrl: "./index",
store: automationStore,
update: automationStore.actions.select,