mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 08:55:13 -04:00
UI: Use TTL editType for format=duration from OpenAPI (#23124)
This commit is contained in:
parent
5449a99aba
commit
e48a57c5ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue