Commit 073f1fe0 authored by Alexander Turinske's avatar Alexander Turinske

Update agent vulnerability report

- move non-reactive variable to $options
parent 29b64824
......@@ -33,9 +33,6 @@ export default {
};
},
computed: {
fieldsToShow() {
return FIELD_PRESETS[REPORT_TAB.OPERATIONAL];
},
filtersToShow() {
return FILTER_PRESETS[REPORT_TAB.OPERATIONAL];
},
......@@ -46,6 +43,7 @@ export default {
this.graphqlFilters.reportType = REPORT_TYPE_PRESETS.OPERATIONAL;
},
},
fieldsToShow: FIELD_PRESETS[REPORT_TAB.OPERATIONAL],
REPORT_TAB,
projectVulnerabilitiesQuery,
};
......@@ -61,7 +59,7 @@ export default {
<vulnerability-list-graphql
:query="$options.projectVulnerabilitiesQuery"
:fields="fieldsToShow"
:fields="$options.fieldsToShow"
:filters="graphqlFilters"
/>
</div>
......
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