提交 6d1f1f4d 编写于 作者: D Denys Mishunov

Updated Search JS handler to not use defaultLabel

- Changelog entry
上级 5b5fc580
......@@ -37,9 +37,6 @@ export default class Search {
text(obj) {
return obj.full_name;
},
toggleLabel(obj) {
return `${$groupDropdown.data('defaultLabel')} ${obj.full_name}`;
},
clicked: () => Search.submitSearch(),
});
......@@ -70,9 +67,6 @@ export default class Search {
text(obj) {
return obj.name_with_namespace;
},
toggleLabel(obj) {
return `${$projectDropdown.data('defaultLabel')} ${obj.name_with_namespace}`;
},
clicked: () => Search.submitSearch(),
});
}
......
---
title: Moved labels out of fields on Search page
merge_request: 31137
author:
type: fixed
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册