refactor: 💡 change filter name (#2102)

This commit is contained in:
Lisbet Alvarez authored and GitHub committed 2024-01-22 14:07:11 -08:00
1 parent 314c1b36f4
commit 5a9cbdd913
2 files changed
+12 -2

No files matched your search

@@ -590,6 +590,10 @@ target:
help:
tcp: Generic TCP supports a broad range of connection types.
ssh: Protocol-aware SSH with support for credential injection.
filter:
active-sessions:
yes: Has active sessions
no: No active sessions
form:
type:
label: Type
@@ -96,8 +96,14 @@ export default class ScopesScopeProjectsTargetsIndexController extends Controlle
get availableSessionOptions() {
return [
{ id: 'yes', name: this.intl.t('actions.yes') },
{ id: 'no', name: this.intl.t('actions.no') },
{
id: 'yes',
name: this.intl.t('resources.target.filter.active-sessions.yes'),
},
{
id: 'no',
name: this.intl.t('resources.target.filter.active-sessions.no'),
},
];
}