Skip to content

Commit

Permalink
fix: Fix 401 Unauthorized Error on App Image Click in App Details
Browse files Browse the repository at this point in the history
  • Loading branch information
oyo authored Sep 11, 2024
2 parents a6aa96a + 68f61c2 commit 3d52a38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
- **chor:** update deoendency file ([bb45f76](https://github.com/eclipse-tractusx/portal-shared-components/commit/bb45f761102e442fd727b10f5a1d0362a0f124cf))
- **chro:** update the package version ([506dc70](https://github.com/eclipse-tractusx/portal-shared-components/commit/506dc709a28e19cbfc2dd6ea38f3af60ed3ef74c))

- **ImageGallery:** Fix 401 Unauthorized error when clicking on App Images ([#291](https://github.com/eclipse-tractusx/portal-shared-components/issues/291))

## [3.3.0](https://github.com/eclipse-tractusx/portal-shared-components/compare/v3.2.0...v3.3.0) (2024-08-23)

### Features
Expand Down
2 changes: 2 additions & 0 deletions src/components/basic/ImageGallery/ImageItemOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default function ImageItemOverlay({
text,
modalWidth = '600',
onClose,
loader,
}: ImageType & ImageItemOverlayProps) {
const { palette } = useTheme()
return (
Expand Down Expand Up @@ -75,6 +76,7 @@ export default function ImageItemOverlay({
<Image
src={url}
alt={text}
loader={loader}
style={{
width: '100%',
height: '100%',
Expand Down
1 change: 1 addition & 0 deletions src/components/basic/ImageGallery/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const ImageGallery = ({
}}
url={hoveredImage.url}
text={hoveredImage.text}
loader={hoveredImage.loader}
modalWidth={modalWidth}
/>
)}
Expand Down

0 comments on commit 3d52a38

Please sign in to comment.