Skip to content

Commit

Permalink
Cluster list page doesn't show Ready to Import cluster status
Browse files Browse the repository at this point in the history
bugzilla: 1663287
tendrl-bug-id: Tendrl#1095

Signed-off-by: GowthamShanmugasundaram <[email protected]>
  • Loading branch information
GowthamShanmugam committed May 21, 2019
1 parent 6e85144 commit 2342b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commons/stores/cluster-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
if (temp.managed === "No") {
if ((!temp.errors.length) && temp.currentStatus === "failed") {
temp.message = "Cluster Misconfigured";
} else if (temp.currentStatus === "finished" || temp.currentTask === {}) {
} else if (temp.currentStatus === "finished" || JSON.stringify(temp.currentTask) === "{}") {
temp.message = "Ready to Import";
}
}
Expand Down Expand Up @@ -332,4 +332,4 @@
}
}

})();
})();

0 comments on commit 2342b5f

Please sign in to comment.