add missing braces, fix type error
This commit is contained in:
1 parent
5fb26367ed
commit
cfe7d2a359
4 files changed
+61
-3
No files matched your search
@@ -172,8 +172,10 @@ export class StatusService implements IStatusService {
|
||||
if (breaching && currentStatus !== "breached") {
|
||||
nextStatus = "breached";
|
||||
transitioned = true;
|
||||
} else if (!breaching && currentStatus === "breached") nextStatus = "up";
|
||||
transitioned = true;
|
||||
} else if (!breaching && currentStatus === "breached") {
|
||||
nextStatus = "up";
|
||||
transitioned = true;
|
||||
}
|
||||
}
|
||||
return { nextStatus, transitioned };
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user