summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-04-08 14:53:02 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-04-08 14:56:29 +0200
commite62f9d9b2e362ef7f021f17473ac3e0dc584e221 (patch)
treef9572ef40e94af5f2eb232adbe704db5cd54b85f /app
parent435c492bac54f588b92e733b632edd4149a6db37 (diff)
downloadgitlab-ce-e62f9d9b2e362ef7f021f17473ac3e0dc584e221.tar.gz
Remove EE-specific changes from FilteredSearchBoardswinh-filtered_search_boards
(cherry picked from commit 250c9b9ecfc35b6b828f6e1a471a803f74daf7f2)
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/boards/filtered_search_boards.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/filtered_search_boards.js b/app/assets/javascripts/boards/filtered_search_boards.js
index c14d69c5d18..6b54e8baefb 100644
--- a/app/assets/javascripts/boards/filtered_search_boards.js
+++ b/app/assets/javascripts/boards/filtered_search_boards.js
@@ -1,6 +1,8 @@
+import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable_filtered_search_token_keys';
import FilteredSearchContainer from '../filtered_search/container';
import FilteredSearchManager from '../filtered_search/filtered_search_manager';
import boardsStore from './stores/boards_store';
+import { isEE } from '~/lib/utils/common_utils';
export default class FilteredSearchBoards extends FilteredSearchManager {
constructor(store, updateUrl = false, cantEdit = []) {
@@ -8,6 +10,8 @@ export default class FilteredSearchBoards extends FilteredSearchManager {
page: 'boards',
isGroupDecendent: true,
stateFiltersSelector: '.issues-state-filters',
+ isGroup: isEE(),
+ filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
});
this.store = store;