mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 17:23:21 +03:00
fix: don't get OCR data in shared link (#24152)
This commit is contained in:
@@ -399,7 +399,9 @@
|
|||||||
$effect(() => {
|
$effect(() => {
|
||||||
handlePromiseError(handleGetAllAlbums());
|
handlePromiseError(handleGetAllAlbums());
|
||||||
ocrManager.clear();
|
ocrManager.clear();
|
||||||
|
if (!sharedLink) {
|
||||||
handlePromiseError(ocrManager.getAssetOcr(asset.id));
|
handlePromiseError(ocrManager.getAssetOcr(asset.id));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user