Fix several admin UI issues (#10869)

### What problem does this PR solve?

- Fix login card will overlap title in admin login page.
- Disable unnecessary `listRoles()` query in user management page and
create user form
- Disable admin UI API queries and mutations retry mechanism
- Fix page not redirect to login page automatically if API reports
unauthorized (401)
- Fix change password form not reset when change password modal close
- Resolve admin UI content (mostly long texts) may break layout main box
issue

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Jimmy Ben Klieve
2025-10-30 20:13:39 +08:00
committed by GitHub
parent 5059d3db18
commit 361c74ab42
6 changed files with 251 additions and 224 deletions

View File

@ -307,6 +307,7 @@ function AdminUserDetail() {
};
},
enabled: !!id,
retry: false,
});
return (