Skip to content

Commit

Permalink
ui: added new pending status support
Browse files Browse the repository at this point in the history
  • Loading branch information
audrium committed Apr 27, 2021
1 parent ec6ced8 commit 4a381f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { WorkflowProgress } from "../components";
import { JupyterNotebookIcon, WorkflowActionsPopup } from "~/components";
import styles from "./WorkflowInfo.module.scss";

const NON_FINISHED_STATUSES = ["created", "queued", "running"];
const NON_FINISHED_STATUSES = ["created", "queued", "pending", "running"];

export default function WorkflowInfo({ workflow }) {
const {
Expand Down
1 change: 1 addition & 0 deletions reana-ui/src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const statusMapping = {
preposition: "after",
},
queued: { icon: "hourglass outline", color: "teal" },
pending: { icon: "hourglass half", color: "teal" },
deleted: { icon: "eraser", color: "grey" },
};

Expand Down

0 comments on commit 4a381f1

Please sign in to comment.