diff --git a/frontend/src/routes/stock/Index.svelte b/frontend/src/routes/stock/Index.svelte index d8c17e7..325c874 100644 --- a/frontend/src/routes/stock/Index.svelte +++ b/frontend/src/routes/stock/Index.svelte @@ -278,9 +278,3 @@ {/if} {/await} - -
-
-        {JSON.stringify({item_id,location},null,2)}
-    
-
\ No newline at end of file diff --git a/frontend/src/routes/task/ListTask.svelte b/frontend/src/routes/task/ListTask.svelte index 78b2701..023af61 100644 --- a/frontend/src/routes/task/ListTask.svelte +++ b/frontend/src/routes/task/ListTask.svelte @@ -126,8 +126,8 @@ } } - function setName(newName){ - patchTask({name:newName}); + async function setName(newName){ + return await patchTask({name:newName}); } function map_state(tx){