[Fix] UI - Stop forcing proxy_admin_viewer to the usage page on login

Removes the JWT-decode useEffect that overrode `?page=api-keys` to "usage" for Admin Viewer. Backend already allows /key/list and /key/info for this role.
This commit is contained in:
kimsehwan96 2026-04-29 07:44:02 +09:00
parent 56cba1729c
commit 167f1b6342

View file

@ -324,9 +324,6 @@ function CreateKeyPageContent() {
if (decoded.user_role) {
const formattedUserRole = formatUserRole(decoded.user_role);
setUserRole(formattedUserRole);
if (formattedUserRole == "Admin Viewer") {
setPage("usage");
}
}
if (decoded.user_email) {