mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-16 17:40:00 +00: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 {
|
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…
x
Reference in New Issue
Block a user