fixed #4230 - option to limit or disable "recent profiles"

This commit is contained in:
Eugene Pankov
2021-07-24 10:35:24 +02:00
parent 1926eca929
commit 90149def0a
4 changed files with 23 additions and 5 deletions

View File

@@ -17,6 +17,19 @@ h3.mb-3 Profiles
[ngValue]='profile.id'
) {{profile.name}}
.form-line(*ngIf='config.store.profiles.length > 0')
.header
.title Show recent profiles in selector
.description Set to 0 to disable recent profiles
input.form-control(
type='number',
min='0',
step='1',
[(ngModel)]='config.store.terminal.showRecentProfiles',
(ngModelChange)='config.save()'
)
.form-line(*ngIf='config.store.profiles.length > 0')
.header
.title Show built-in profiles in selector
@@ -27,6 +40,7 @@ h3.mb-3 Profiles
(ngModelChange)='config.save()'
)
.d-flex.mb-3.mt-4
.input-group
.input-group-prepend