Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion ui/src/components/layout/Duration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@
this.duration = Utils.humanDuration(this.delta() / 1000)
},
squareClass(state) {
const statusVarname = state.toLowerCase();
let statusVarname = state.toLowerCase();

// Minor hack to reuse created color for submitted status.
// See https://github.com/kestra-io/kestra/issues/14876 for more details.
if(statusVarname === "submitted") statusVarname = "created";

return {
backgroundColor: `var(--ks-chart-${statusVarname})`
};
Expand Down
Loading