Skip to content

Commit

Permalink
Persistence page: Define options for time filter unit
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Jul 3, 2023
1 parent ac4a7f5 commit e51ccd4
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,17 @@ export default {
},
{
advanced: false,
description: 'Time unit (defaults to seconds <code>s</code>)',
description: 'Time unit (defaults to seconds)',
label: 'Unit',
limitToOptions: true,
multiple: false,
name: 'unit',
options: [
{ label: 'seconds', value: 's' },
{ label: 'minutes', value: 'm' },
{ label: 'hours', value: 'h' },
{ label: 'days', value: 'd' }
],
required: false,
type: 'STRING'
}
Expand Down

0 comments on commit e51ccd4

Please sign in to comment.