mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 01:11:20 +03:00
fix: remove unnecessary api call (#23050)
Co-authored-by: Arno <arno@crewbrain.com>
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
import { locale } from '$lib/stores/preferences.store';
|
import { locale } from '$lib/stores/preferences.store';
|
||||||
import { preferences } from '$lib/stores/user.store';
|
import { preferences } from '$lib/stores/user.store';
|
||||||
import { websocketEvents } from '$lib/stores/websocket';
|
import { websocketEvents } from '$lib/stores/websocket';
|
||||||
import { getPeopleThumbnailUrl, handlePromiseError } from '$lib/utils';
|
import { getPeopleThumbnailUrl } from '$lib/utils';
|
||||||
import { handleError } from '$lib/utils/handle-error';
|
import { handleError } from '$lib/utils/handle-error';
|
||||||
import { isExternalUrl } from '$lib/utils/navigation';
|
import { isExternalUrl } from '$lib/utils/navigation';
|
||||||
import {
|
import {
|
||||||
@@ -361,12 +361,6 @@
|
|||||||
|
|
||||||
let thumbnailData = $derived(getPeopleThumbnailUrl(person));
|
let thumbnailData = $derived(getPeopleThumbnailUrl(person));
|
||||||
|
|
||||||
$effect(() => {
|
|
||||||
if (person) {
|
|
||||||
handlePromiseError(updateAssetCount());
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const handleSetVisibility = (assetIds: string[]) => {
|
const handleSetVisibility = (assetIds: string[]) => {
|
||||||
timelineManager.removeAssets(assetIds);
|
timelineManager.removeAssets(assetIds);
|
||||||
assetInteraction.clearMultiselect();
|
assetInteraction.clearMultiselect();
|
||||||
|
|||||||
Reference in New Issue
Block a user