fix(StageInstance): Ensure discoverableDisabled is not undefined (#6395)

This commit is contained in:
Jiralite
2021-08-12 15:06:26 +01:00
committed by GitHub
parent 44bbfa5c46
commit dce8fc7b9d
2 changed files with 3 additions and 3 deletions

View File

@@ -54,9 +54,9 @@ class StageInstance extends Base {
/**
* Whether or not stage discovery is disabled
* @type {boolean}
* @type {?boolean}
*/
this.discoverableDisabled = data.discoverable_disabled;
this.discoverableDisabled = data.discoverable_disabled ?? null;
}
/**