Bugfix for runner team updates

ref #13 #17
This commit is contained in:
2020-12-10 20:05:20 +01:00
parent 02877ece9c
commit 721af32989
3 changed files with 55 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ export abstract class CreateRunnerGroup {
* Get's this group's contact from this.address.
*/
public async getContact(): Promise<GroupContact> {
if (this.contact === undefined) {
if (this.contact === undefined || this.contact === null) {
return null;
}
if (!isNaN(this.contact)) {