mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(web): don't show ocr button on panoramas (#25450)
This commit is contained in:
@@ -431,6 +431,7 @@
|
|||||||
const showOcrButton = $derived(
|
const showOcrButton = $derived(
|
||||||
$slideshowState === SlideshowState.None &&
|
$slideshowState === SlideshowState.None &&
|
||||||
asset.type === AssetTypeEnum.Image &&
|
asset.type === AssetTypeEnum.Image &&
|
||||||
|
!(asset.exifInfo?.projectionType === 'EQUIRECTANGULAR') &&
|
||||||
!isShowEditor &&
|
!isShowEditor &&
|
||||||
ocrManager.hasOcrData,
|
ocrManager.hasOcrData,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user