feat: global filter

This commit is contained in:
Timothy J. Baek
2024-06-23 18:39:27 -07:00
parent d8c112d8b0
commit 3a629ffe00
2 changed files with 62 additions and 53 deletions

View File

@@ -227,8 +227,9 @@
<div class=" self-center mx-1">
<Switch
bind:state={func.is_active}
on:change={(e) => {
on:change={async (e) => {
toggleFunctionById(localStorage.token, func.id);
models.set(await getModels(localStorage.token));
}}
/>
</div>