mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 22:10:09 +00:00
Show option group only if there are custom profiles
This commit is contained in:
parent
5d1a35a285
commit
57f20eca4f
@ -12,7 +12,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
|
|||||||
[(ngModel)]='config.store.terminal.profile',
|
[(ngModel)]='config.store.terminal.profile',
|
||||||
(ngModelChange)='config.save()',
|
(ngModelChange)='config.save()',
|
||||||
)
|
)
|
||||||
optgroup([label]='"Custom Profiles"|translate')
|
optgroup([label]='"Custom Profiles"|translate', *ngIf='customProfiles?.length > 0')
|
||||||
option(
|
option(
|
||||||
*ngFor='let profile of customProfiles',
|
*ngFor='let profile of customProfiles',
|
||||||
[ngValue]='profile.id'
|
[ngValue]='profile.id'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user