From 0a0ec35b845d97192941554acb69167845345994 Mon Sep 17 00:00:00 2001 From: Brandon Rothweiler Date: Tue, 24 May 2022 22:58:02 -0400 Subject: [PATCH] Hide description in selector model if it's the same as the title --- tabby-core/src/components/selectorModal.component.pug | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tabby-core/src/components/selectorModal.component.pug b/tabby-core/src/components/selectorModal.component.pug index a6c87d19..c6fa6b6c 100644 --- a/tabby-core/src/components/selectorModal.component.pug +++ b/tabby-core/src/components/selectorModal.component.pug @@ -22,7 +22,9 @@ [color]='option.color' ) .title.mr-2 {{getOptionText(option)}} - .description.no-wrap.text-muted {{option.description}} + .description.no-wrap.text-muted( + *ngIf='option.description !== getOptionText(option)' + ) {{option.description}} .ml-auto .no-wrap.badge.badge-secondary.text-muted.ml-2(*ngIf='selectedIndex == i && canEditSelected()') span Backspace