Go to newly created row actions

This commit is contained in:
Andrew Kingston 2024-09-03 20:05:14 +01:00
parent e0c4273acf
commit 7db263dd3b
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@
import DetailPopover from "components/common/DetailPopover.svelte"
import { getContext } from "svelte"
import { appStore, rowActions } from "stores/builder"
import { API } from "api"
import { goto, url } from "@roxi/routify"
import { derived } from "svelte/store"
@ -34,7 +33,7 @@
try {
const newRowAction = await rowActions.createRowAction(tableId, viewId)
notifications.success("Row action created successfully")
// $goto($rowActionUrl(newRowAction))
$goto($rowActionUrl(newRowAction))
} catch (error) {
console.error(error)
notifications.error("Error creating row action")