Removed fullname from groups (to be renabled later)

ref #5
This commit is contained in:
Nicolai Ort 2021-02-06 21:48:47 +01:00
parent ee8ba99cc7
commit 388d8a2dc6

View File

@ -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;
}