mirror of
https://github.com/Eugeny/tabby
synced 2025-03-04 15:17:17 +00:00
wip ref(core): resolveProfileGroupName return groupId if no name found
This commit is contained in:
parent
30936b739e
commit
951c69b31a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue