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:
parent
d8756f3897
commit
ae2608e31d
1 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue