Browse Source

fixes small bug where user was not redirected to automation index page once last automation was deleted

pull/1287/head
Keviin Åberg Kultalahti 5 years ago
parent
commit
c9e8fcb839
  1. 4
      packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte

4
packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte

@ -1,4 +1,5 @@
<script>
<script>
import { goto } from "@sveltech/routify"
import { automationStore, backendUiStore } from "builderStore"
import { notifier } from "builderStore/store/notifications"
import { DropdownMenu } from "@budibase/bbui"
@ -23,6 +24,7 @@
automation,
})
notifier.success("Automation deleted.")
$goto('../automate')
}
</script>

Loading…
Cancel
Save