mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
UI: Use TTL editType for format=duration from OpenAPI (#23124)
This commit is contained in:
parent
5449a99aba
commit
e48a57c5ce
@ -35,7 +35,7 @@ export const expandOpenApiProps = function (props) {
|
||||
|
||||
editType = editType || type;
|
||||
|
||||
if (format === 'seconds') {
|
||||
if (format === 'seconds' || format === 'duration') {
|
||||
editType = 'ttl';
|
||||
} else if (items) {
|
||||
editType = items.type + capitalize(type);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user