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:
parent
47b383dbbf
commit
728f057c5e
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user