Skip to content

Commit

Permalink
Merge pull request #6493 from bdr99/patch-1
Browse files Browse the repository at this point in the history
Hide description in selector modal if it's the same as the title
  • Loading branch information
Eugeny authored May 26, 2022
2 parents fbcb165 + 0a0ec35 commit 02fb0db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tabby-core/src/components/selectorModal.component.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02fb0db

Please sign in to comment.