litmuschaos/litmus

Chore: remove inefficient code

開放

#4,206 建立於 2023年10月4日

 (6 則留言) (0 個反應) (1 位負責人)HTML (574 個分叉)batch import
Hacktoberfestgood first issue

倉庫指標

星標
 (3,702 顆星)
PR 合併指標
 (平均合併 42天 14小時) (30 天內合併 20 個 PR)

描述

As you can see in the switch expression, lastExperimentRunStatus === ExperimentRunStatus.RUNNING and lastExperimentRunStatus === ExperimentRunStatus.QUEUED are always true. IMO, we can shift these statements to true

Anyone who finds good first issues or participates in hacktoberfest can take this issue.

https://github.com/litmuschaos/litmus/blob/794676f6b75e08835334fd5d675e0b0d096d5f9d/chaoscenter/web/src/views/ExperimentDashboardV2/ExperimentDashboardV2Table.tsx#L207-L223

貢獻者指南