-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix(web): statusbox re-rendering and nav bar when trashing assets #6581
Conversation
Deploying with
|
Latest commit: |
92c93bb
|
Status: | ✅ Deploy successful! |
Preview URL: | https://48533073.immich.pages.dev |
Branch Preview URL: | https://fix-web-small-issues-22-01.immich.pages.dev |
if (!$user) { | ||
const { data } = await api.userApi.getMyUserInfo(); | ||
$user = data; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be handled by the store?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that AIP request is useless, correct me if I'm wrong, but you're always authenticated when you have the side-bar and that store is already handled by auth.ts
This description stuff keeps popping up, can you keep it out of this PR, since it seems completely unrelated? |
StatusBox
each time a page loads.