Skip to content

Commit

Permalink
Show option group only if there are custom profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranhiru committed Oct 9, 2023
1 parent 5d1a35a commit 57f20ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 57f20ec

Please sign in to comment.