Merged in fix/SW-1955-image-gallery-hide-room-label (pull request #1621)
fix(SW-1955): hide label on room sidepeek * fix(SW-1955): hide label on room sidepeek Approved-by: Erik Tiekstra
This commit is contained in:
@@ -19,6 +19,7 @@ function ImageGallery({
|
||||
fill,
|
||||
height = 280,
|
||||
sizes,
|
||||
hideLabel,
|
||||
}: ImageGalleryProps) {
|
||||
const intl = useIntl()
|
||||
const [lightboxIsOpen, setLightboxIsOpen] = useState(false)
|
||||
@@ -58,6 +59,7 @@ function ImageGallery({
|
||||
dialogTitle={title}
|
||||
isOpen={lightboxIsOpen}
|
||||
onClose={() => setLightboxIsOpen(false)}
|
||||
hideLabel={hideLabel}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user