fix: plugin locale merge re-runs on HMR; API Key form allows Personal
- locale-merger: drop the module-level dedup Set. addLocale is idempotent, and the guard made HMR-added plugin locale keys silently skipped — strings like organizations.members.selectUsers stayed unresolved until a full dev-server restart. - api-keys form: pass allowPersonal: true to CreateOrgScopeField so admin in Platform-wide mode can target their own Personal Org when creating a key (unlike infra resources where Personal doesn't fit).
This commit is contained in:
@@ -45,7 +45,10 @@ const APIKeyForm: React.FC<{
|
||||
></CInput.Input>
|
||||
</Form.Item>
|
||||
|
||||
<PluginExtraFields name="CreateOrgScopeField" context={{ action }} />
|
||||
<PluginExtraFields
|
||||
name="CreateOrgScopeField"
|
||||
context={{ action, allowPersonal: true }}
|
||||
/>
|
||||
|
||||
<Form.Item<FormData>
|
||||
name="expires_in"
|
||||
|
||||
Reference in New Issue
Block a user