Ver código fonte

Fixed selector order for jobs/runs

jnfrati 4 anos atrás
pai
commit
fc7b14eb5f

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/ClusterDashboard.tsx

@@ -213,8 +213,8 @@ class ClusterDashboard extends Component<PropsType, StateType> {
           <Selector
             activeValue={this.state.showRuns ? "job_runs" : "chart_list"}
             options={[
-              { label: "Runs", value: "job_runs" },
               { label: "Jobs", value: "chart_list" },
+              { label: "Runs", value: "job_runs" },
             ]}
             setActiveValue={(value) => {
               if (value === "job_runs") {