feat: filter selector model
This commit is contained in:
1 parent
bf5775e07a
commit
08cc20cb93
8 files changed
+117
-32
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
import { goto } from '$app/navigation';
|
||||
import { page } from '$app/stores';
|
||||
import { functions } from '$lib/stores';
|
||||
import { updateFunctionById, getFunctions, getFunctionById } from '$lib/apis/functions';
|
||||
|
||||
import FunctionEditor from '$lib/components/workspace/Functions/FunctionEditor.svelte';
|
||||
@@ -25,6 +26,7 @@
|
||||
|
||||
if (res) {
|
||||
toast.success('Function updated successfully');
|
||||
functions.set(await getFunctions(localStorage.token));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user