Commit 5e5278ea authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ie11-fix-security-dashboard' into 'master'

Fix security dashboard errors on IE11

See merge request gitlab-org/gitlab-ee!13319
parents f60ebd9a 8984e608
...@@ -6,6 +6,7 @@ import 'core-js/fn/array/from'; ...@@ -6,6 +6,7 @@ import 'core-js/fn/array/from';
import 'core-js/fn/array/includes'; import 'core-js/fn/array/includes';
import 'core-js/fn/object/assign'; import 'core-js/fn/object/assign';
import 'core-js/fn/object/values'; import 'core-js/fn/object/values';
import 'core-js/fn/object/entries';
import 'core-js/fn/promise'; import 'core-js/fn/promise';
import 'core-js/fn/promise/finally'; import 'core-js/fn/promise/finally';
import 'core-js/fn/string/code-point-at'; import 'core-js/fn/string/code-point-at';
......
...@@ -28,7 +28,7 @@ export const getSelectedOptionNames = (state, getters) => filterId => { ...@@ -28,7 +28,7 @@ export const getSelectedOptionNames = (state, getters) => filterId => {
*/ */
export const activeFilters = state => export const activeFilters = state =>
state.filters.reduce((acc, filter) => { state.filters.reduce((acc, filter) => {
acc[filter.id] = [...filter.selection].filter(option => option !== 'all'); acc[filter.id] = [...Array.from(filter.selection)].filter(option => option !== 'all');
return acc; return acc;
}, {}); }, {});
......
---
title: Fix security dashboard errors on IE11
merge_request: 13319
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment