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

贡献者指南