mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-23 05:03:36 +03:00
wip ref(core): resolveProfileGroupName return groupId if no name found
This commit is contained in:
parent
30936b739e
commit
951c69b31a
@ -496,10 +496,10 @@ export class ProfilesService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve and return ProfileGroup from ProfileGroup ID
|
||||
* Resolve and return ProfileGroup Name from ProfileGroup ID
|
||||
*/
|
||||
resolveProfileGroupName (groupId: string): string {
|
||||
return this.config.store.groups.find(g => g.id === groupId)?.name ?? ''
|
||||
return this.config.store.groups.find(g => g.id === groupId)?.name ?? groupId
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user