diff options
Diffstat (limited to 'app/assets/javascripts/incidents/list.js')
-rw-r--r-- | app/assets/javascripts/incidents/list.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/javascripts/incidents/list.js b/app/assets/javascripts/incidents/list.js index 7505d07449c..6f87fbbe775 100644 --- a/app/assets/javascripts/incidents/list.js +++ b/app/assets/javascripts/incidents/list.js @@ -1,6 +1,7 @@ import Vue from 'vue'; import VueApollo from 'vue-apollo'; import createDefaultClient from '~/lib/graphql'; +import { parseBoolean } from '~/lib/utils/common_utils'; import IncidentsList from './components/incidents_list.vue'; Vue.use(VueApollo); @@ -16,6 +17,10 @@ export default () => { issuePath, publishedAvailable, emptyListSvgPath, + textQuery, + authorUsernameQuery, + assigneeUsernameQuery, + slaFeatureAvailable, } = domEl.dataset; const apolloProvider = new VueApollo({ @@ -30,8 +35,12 @@ export default () => { incidentType, newIssuePath, issuePath, - publishedAvailable, + publishedAvailable: parseBoolean(publishedAvailable), emptyListSvgPath, + textQuery, + authorUsernameQuery, + assigneeUsernameQuery, + slaFeatureAvailable: parseBoolean(slaFeatureAvailable), }, apolloProvider, components: { |