Skip to content
Snippets Groups Projects

Icshwi 11237 fixing time column

Merged Imre Toth requested to merge ICSHWI-11237_Fixing_time_column into develop
11 files
+ 29640
30197
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 28
0
@@ -197,3 +197,31 @@ export class IocActiveDeployment {
);
}
}
export class Operation {
constructor(operation) {
this.operation = operation;
}
isFinished() {
return ["failed", "canceled", "successful", "error"].includes(
this.operation?.status?.toLowerCase()
);
}
wasSuccessful() {
return this.operation?.status?.toLowerCase() === "successful";
}
hasFailed() {
return ["error", "failed", "canceled"].includes(
this.operation?.status?.toLowerCase()
);
}
hasFinished() {
return ["error", "failed", "canceled", "successful"].includes(
this.operation?.status?.toLowerCase()
);
}
}
Loading