From 57f20eca4f309ca13347f0b8daa3c0c54c68152b Mon Sep 17 00:00:00 2001 From: Jude Cooray Date: Mon, 9 Oct 2023 21:06:42 +1100 Subject: [PATCH] Show option group only if there are custom profiles --- tabby-settings/src/components/profilesSettingsTab.component.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby-settings/src/components/profilesSettingsTab.component.pug b/tabby-settings/src/components/profilesSettingsTab.component.pug index 9aa25f95..d883ae49 100644 --- a/tabby-settings/src/components/profilesSettingsTab.component.pug +++ b/tabby-settings/src/components/profilesSettingsTab.component.pug @@ -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'