pr comments

This commit is contained in:
Peter Clement 2025-01-13 18:20:22 +00:00
parent db27d1e8af
commit 0bc1e33ef3
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ export class ViewsStore extends DerivedBudiStore<
delete = async (view: View) => {
if (!view.name) {
return
throw new Error("View name is required")
}
await API.deleteView(view.name)
@ -71,7 +71,7 @@ export class ViewsStore extends DerivedBudiStore<
save = async (view: View & { originalName?: string }) => {
if (!view.name) {
return
throw new Error("View name is required")
}
const savedView = await API.saveView(view)