Updated Search JS handler to not use defaultLabel

- Changelog entry
This commit is contained in:
Denys Mishunov 2019-07-24 15:46:23 +02:00
parent 5b5fc580f3
commit 6d1f1f4dcb
2 changed files with 5 additions and 6 deletions

View File

@ -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(),
});
}

View File

@ -0,0 +1,5 @@
---
title: Moved labels out of fields on Search page
merge_request: 31137
author:
type: fixed