From ae2608e31df783a07f59e51e5598c3be6ab8bd0c Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 16 Dec 2023 10:48:49 -0600 Subject: [PATCH] fix(web): cannot save exclusion pattern (#5738) * fix(web): Ccannot save exclusive pattern * remove console log --- web/src/lib/components/user-settings-page/library-list.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/lib/components/user-settings-page/library-list.svelte b/web/src/lib/components/user-settings-page/library-list.svelte index 8f5374a603..d134604c6c 100644 --- a/web/src/lib/components/user-settings-page/library-list.svelte +++ b/web/src/lib/components/user-settings-page/library-list.svelte @@ -119,7 +119,6 @@ try { const libraryId = libraries[updateLibraryIndex].id; - await api.libraryApi.updateLibrary({ id: libraryId, updateLibraryDto: { ...event } }); } catch (error) { handleError(error, 'Unable to update library'); @@ -394,7 +393,7 @@
handleUpdate(detail)} + on:submit={({ detail }) => handleUpdate(detail.library)} on:cancel={() => (editScanSettings = null)} />