Skip to content
代码片段 群组 项目
未验证 提交 95fa340a 编辑于 作者: Samantha Ming's avatar Samantha Ming 提交者: GitLab
浏览文件

Merge branch '440673-refactor' into 'master'

Refactor method for readibility

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144213



Merged-by: default avatarSamantha Ming <sming@gitlab.com>
Co-authored-by: default avatarSavas Vedova <svedova@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
this.selectedStatuses.push(selectedValue); this.selectedStatuses.push(selectedValue);
}, },
isStatusSelected(name) { isStatusSelected(name) {
return Boolean(this.selectedStatuses.find((s) => name === s)); return this.selectedStatuses.some((s) => name === s);
}, },
}, },
groups: { groups: {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册