mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 01:11:46 +03:00
@@ -350,7 +350,7 @@ class IntersectionTask {
|
||||
this.internalTaskManager.queueScrollSensitiveTask({
|
||||
task,
|
||||
cleanup,
|
||||
componentId: componentId,
|
||||
componentId,
|
||||
priority: this.priority,
|
||||
taskId: this.intersectedKey,
|
||||
});
|
||||
@@ -367,7 +367,7 @@ class IntersectionTask {
|
||||
this.internalTaskManager.queueSeparateTask({
|
||||
task,
|
||||
cleanup,
|
||||
componentId: componentId,
|
||||
componentId,
|
||||
taskId: this.separatedKey,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ export const addAssetsToAlbum = async (albumId: string, assetIds: string[], show
|
||||
timeout: 5000,
|
||||
message:
|
||||
count > 0
|
||||
? $t('assets_added_to_album_count', { values: { count: count } })
|
||||
? $t('assets_added_to_album_count', { values: { count } })
|
||||
: $t('assets_were_part_of_album_count', { values: { count: assetIds.length } }),
|
||||
button: {
|
||||
text: $t('view_album'),
|
||||
@@ -264,7 +264,7 @@ export const downloadFile = async (asset: AssetResponseDto) => {
|
||||
|
||||
downloadBlob(data, filename);
|
||||
} catch (error) {
|
||||
handleError(error, $t('errors.error_downloading', { values: { filename: filename } }));
|
||||
handleError(error, $t('errors.error_downloading', { values: { filename } }));
|
||||
downloadManager.clear(downloadKey);
|
||||
} finally {
|
||||
setTimeout(() => downloadManager.clear(downloadKey), 5000);
|
||||
|
||||
@@ -28,5 +28,5 @@ export const searchNameLocal = (
|
||||
};
|
||||
|
||||
export const getPersonNameWithHiddenValue = derived(t, ($t) => {
|
||||
return (name: string, isHidden: boolean) => $t('person_hidden', { values: { name: name, hidden: isHidden } });
|
||||
return (name: string, isHidden: boolean) => $t('person_hidden', { values: { name, hidden: isHidden } });
|
||||
});
|
||||
|
||||
@@ -107,7 +107,7 @@ export function splitBucketIntoDateGroups(bucket: AssetBucket, locale: string |
|
||||
heightActual: false,
|
||||
intersecting: false,
|
||||
geometry: emptyGeometry(),
|
||||
bucket: bucket,
|
||||
bucket,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user