fix: don't get OCR data in shared link (#24152)

pull/24087/merge
Alex 2025-11-25 06:58:27 +07:00 committed by GitHub
parent 939d2c8b27
commit 66ae07ee39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

@ -399,7 +399,9 @@
$effect(() => {
handlePromiseError(handleGetAllAlbums());
ocrManager.clear();
handlePromiseError(ocrManager.getAssetOcr(asset.id));
if (!sharedLink) {
handlePromiseError(ocrManager.getAssetOcr(asset.id));
}
});
</script>