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

This commit is contained in:
Alex
2025-11-25 06:58:27 -06:00
committed by GitHub
parent 939d2c8b27
commit 66ae07ee39

View File

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