Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Details - 401 Unauthorized | Clicking on App Images generate error. #291

Open
ss-nikunj opened this issue Aug 29, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@ss-nikunj
Copy link
Contributor

ss-nikunj commented Aug 29, 2024

Current Behavior

  • In the App Release -> Validate & Publish section and App Overview -> App Details page, clicking on App Images generates a 401 Unauthorized error.
  • It should load the respective image.
  • When we click on these images ImageGellary component calls API without the JWT Token

Expected Behavior

  • Clicking on the App Image should display the preview image.

Steps To Reproduce

  • Login to Portal Application
  • Navigate to App Management -> App release process
  • Clicks on Register Your App
  • Navigate to the "App Release - Validate & Publish" section.
  • Click on App Details → App images
  • Go to the "App Management -> App Overview → App Details" page.
  • Click on any App Image.

Solution

  • The Image component has loader props and in portal frontend we are passing the loader as a props in ImageGellary component.
  • We have to pass the loader function as a prop in these components: ImageItemOverlay, ImageItemOverlay -> Image,

Reference Images

image
image
image

@ss-nikunj ss-nikunj added the bug Something isn't working label Aug 29, 2024
@ss-nikunj ss-nikunj self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: NEW USER REQUEST
Development

No branches or pull requests

1 participant