1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-08-13 04:41:54 +00:00

profile settings: allow filtering by description - fixes

This commit is contained in:
Eugene Pankov
2021-12-08 20:58:13 +01:00
parent a34e4c236d
commit 4c663e4a20

@@ -211,7 +211,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
} }
isProfileVisible (profile: PartialProfile<Profile>): boolean { isProfileVisible (profile: PartialProfile<Profile>): boolean {
return !this.filter || profile.name.toLowerCase().includes(this.filter.toLowerCase()) return !this.filter || (profile.name + '$' + (this.getDescription(profile) ?? '')).toLowerCase().includes(this.filter.toLowerCase())
} }
iconIsSVG (icon?: string): boolean { iconIsSVG (icon?: string): boolean {