1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 03:46:47 +01:00

fix(web): cannot save exclusion pattern (#5738)

* fix(web): Ccannot save exclusive pattern

* remove console log
This commit is contained in:
Alex 2023-12-16 10:48:49 -06:00 committed by GitHub
parent d8756f3897
commit ae2608e31d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,6 @@
try { try {
const libraryId = libraries[updateLibraryIndex].id; const libraryId = libraries[updateLibraryIndex].id;
await api.libraryApi.updateLibrary({ id: libraryId, updateLibraryDto: { ...event } }); await api.libraryApi.updateLibrary({ id: libraryId, updateLibraryDto: { ...event } });
} catch (error) { } catch (error) {
handleError(error, 'Unable to update library'); handleError(error, 'Unable to update library');
@ -394,7 +393,7 @@
<div transition:slide={{ duration: 250 }} class="mb-4 ml-4 mr-4"> <div transition:slide={{ duration: 250 }} class="mb-4 ml-4 mr-4">
<LibraryScanSettingsForm <LibraryScanSettingsForm
{library} {library}
on:submit={({ detail }) => handleUpdate(detail)} on:submit={({ detail }) => handleUpdate(detail.library)}
on:cancel={() => (editScanSettings = null)} on:cancel={() => (editScanSettings = null)}
/> />
</div> </div>