mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix(web): don't show ocr button on panoramas (#25450)
This commit is contained in:
parent
55477a8a1a
commit
78f400305b
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue