fix(ui): label default key type as "Full Access" on key edit page (#29870)

The key edit page showed the default key type (no allowed_routes restriction)
as "Default", while the key creation form already labels the same value
"Full Access". Align the edit page to the create form so the two surfaces agree
on both the label and its description.
This commit is contained in:
yuneng-jiang 2026-06-08 12:25:52 -07:00 committed by GitHub
parent 47b383dbbf
commit 728f057c5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -394,11 +394,11 @@ export function KeyEditView({
}
}}
>
<Select.Option value="default" label="Default">
<Select.Option value="default" label="Full Access">
<div style={{ padding: "4px 0" }}>
<div style={{ fontWeight: 500 }}>Default</div>
<div style={{ fontWeight: 500 }}>Full Access</div>
<div style={{ fontSize: "11px", color: "#6b7280", marginTop: "2px" }}>
Can call AI APIs + Management routes
Can call all routes (AI APIs, Management, and read-only)
</div>
</div>
</Select.Option>