0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-15 03:11:28 -05:00

fix(server): fix import path truthiness check (#16570)

This commit is contained in:
Jonathan Jogenfors 2025-03-04 13:54:12 +01:00 committed by GitHub
parent 75c9f63757
commit 49d393216a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,7 +121,7 @@
};
const handleAddImportPath = () => {
if (!updateLibraryIndex || !importPathToAdd) {
if (updateLibraryIndex === null || !importPathToAdd) {
return;
}