Sponsoring contract generation feature/5-sponsoring_contracts #10

Merged
niggl merged 48 commits from feature/5-sponsoring_contracts into dev 2021-02-07 15:37:55 +00:00
Showing only changes of commit 388d8a2dc6 - Show all commits

View File

@ -24,13 +24,5 @@ export class RunnerGroup {
*/ */
@IsObject() @IsObject()
@IsOptional() @IsOptional()
parentGroup?: RunnerGroup 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}`;
}
} }