parent
ee8ba99cc7
commit
388d8a2dc6
@ -24,13 +24,5 @@ export class RunnerGroup {
|
||||
*/
|
||||
@IsObject()
|
||||
@IsOptional()
|
||||
parentGroup?: RunnerGroup
|
||||
|
||||
/**
|
||||
* Returns the groups full name in the format: org.name/team.name (or just org).
|
||||
*/
|
||||
public get fullName(): string {
|
||||
if (!this.parentGroup) { return this.name; }
|
||||
return `${this.name}/${this.parentGroup.fullName}`;
|
||||
}
|
||||
parentGroup?: RunnerGroup;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user