diff options
Diffstat (limited to 'app/assets/javascripts/incidents/list.js')
-rw-r--r-- | app/assets/javascripts/incidents/list.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/incidents/list.js b/app/assets/javascripts/incidents/list.js index aeec4a258b9..15af7432436 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); @@ -19,6 +20,7 @@ export default () => { textQuery, authorUsernamesQuery, assigneeUsernamesQuery, + slaFeatureAvailable, } = domEl.dataset; const apolloProvider = new VueApollo({ @@ -33,11 +35,12 @@ export default () => { incidentType, newIssuePath, issuePath, - publishedAvailable, + publishedAvailable: parseBoolean(publishedAvailable), emptyListSvgPath, textQuery, authorUsernamesQuery, assigneeUsernamesQuery, + slaFeatureAvailable: parseBoolean(slaFeatureAvailable), }, apolloProvider, components: { |