From 8239bfefaba73679c4ca6ed956b1a78a5f38c784 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Mon, 27 Oct 2025 08:47:13 +0100 Subject: [PATCH] preparing to patch multiple (selected) times in one call Signed-off-by: Stephan Richter --- frontend/src/routes/stock/Index.svelte | 1 - frontend/src/routes/time/Index.svelte | 38 ++++++++++++++------------ frontend/src/urls.svelte.js | 17 +++++++++++- 3 files changed, 36 insertions(+), 20 deletions(-) diff --git a/frontend/src/routes/stock/Index.svelte b/frontend/src/routes/stock/Index.svelte index a4ddaf0..a6f5fed 100644 --- a/frontend/src/routes/stock/Index.svelte +++ b/frontend/src/routes/stock/Index.svelte @@ -139,7 +139,6 @@ async function patchLocation(location,field,newValue){ const data = {}; data[field] = newValue; - console.log(data); const url = api(`stock/location/${location.id}`); const res = await fetch(url,{ credentials: 'include', diff --git a/frontend/src/routes/time/Index.svelte b/frontend/src/routes/time/Index.svelte index 20c845c..efaf2f0 100644 --- a/frontend/src/routes/time/Index.svelte +++ b/frontend/src/routes/time/Index.svelte @@ -1,8 +1,8 @@