mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-13 04:41:54 +00:00
profile settings: allow filtering by description - fixes #5022
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user