2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 18:56:31 +00:00

feat(frontend): reduce flickering on reload (#9897)

* rename states to better fit naming conv

* fix name

* ensure splashscreen only loads after login check
this reduces a short splash of the splashscreen even if logged in

* move loader to the middle of the screen and remove fallback on a view screens
This commit is contained in:
Matthias Mair
2025-06-29 02:45:51 +02:00
committed by GitHub
parent ce8ece4f10
commit 4c11f8c911
69 changed files with 127 additions and 79 deletions

View File

@@ -59,4 +59,7 @@ export interface UserStateProps {
isLoggedIn: () => boolean;
isStaff: () => boolean;
isSuperuser: () => boolean;
// login state
login_checked: boolean;
setLoginChecked: (value: boolean) => void;
}