mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
Show option group only if there are custom profiles
This commit is contained in:
parent
5d1a35a285
commit
57f20eca4f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
|
|||
[(ngModel)]='config.store.terminal.profile',
|
||||
(ngModelChange)='config.save()',
|
||||
)
|
||||
optgroup([label]='"Custom Profiles"|translate')
|
||||
optgroup([label]='"Custom Profiles"|translate', *ngIf='customProfiles?.length > 0')
|
||||
option(
|
||||
*ngFor='let profile of customProfiles',
|
||||
[ngValue]='profile.id'
|
||||
|
|
Loading…
Reference in a new issue