collapse success/severity/done into status

This commit is contained in:
Paul Fitzpatrick
2024-05-23 16:24:38 -04:00
parent 307334e8dd
commit fc4e43785e
4 changed files with 45 additions and 38 deletions

View File

@@ -53,7 +53,7 @@ export class AdminChecks {
const {id} = probe;
let result = this._results.get(id);
if (!result) {
result = Observable.create(this._parent, {});
result = Observable.create(this._parent, {status: 'none'});
this._results.set(id, result);
}
let request = this._requests.get(id);
@@ -108,7 +108,7 @@ export class AdminCheckRunner {
public start() {
let result = this.results.get(this.id);
if (!result) {
result = Observable.create(this.parent, {});
result = Observable.create(this.parent, {status: 'none'});
this.results.set(this.id, result);
}
}