Skip to content

Commit 1b9a207

Browse files
authored
STOPPING
1 parent 271d974 commit 1b9a207

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

services/static-webserver/client/source/class/osparc/dashboard/CardBase.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,14 +790,15 @@ qx.Class.define("osparc.dashboard.CardBase", {
790790
}
791791
},
792792

793-
// pipelineState: ["NOT_STARTED", "PUBLISHED", "STARTED", "SUCCESS", "ABORTED", "FAILED", "UNKNOWN"]
793+
// pipelineState: ["NOT_STARTED", "PUBLISHED", "STOPPING", "STARTED", "SUCCESS", "ABORTED", "FAILED", "UNKNOWN"]
794794
__applyPipelineState: function(pipelineState) {
795795
let iconSource;
796796
let toolTipText;
797797
let borderColor;
798798
switch (pipelineState) {
799799
case "PUBLISHED":
800800
case "STARTED":
801+
case "STOPPING":
801802
iconSource = "@FontAwesome5Solid/spinner/10";
802803
toolTipText = this.tr("Running");
803804
borderColor = "info";

services/static-webserver/client/source/class/osparc/study/Utils.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,11 @@ qx.Class.define("osparc.study.Utils", {
410410
return (
411411
content["data"]["state"] &&
412412
content["data"]["state"]["value"] &&
413-
["PUBLISHED", "STARTED"].includes(content["data"]["state"]["value"])
413+
[
414+
"PUBLISHED",
415+
"STARTED",
416+
"STOPPING",
417+
].includes(content["data"]["state"]["value"])
414418
);
415419
}
416420
return false;

0 commit comments

Comments
 (0)