Commit ae656c07 authored by Alexander Turinske's avatar Alexander Turinske

Update operational tab url parameter

- make it shorter
parent ebf78253
...@@ -5,6 +5,7 @@ import { s__ } from '~/locale'; ...@@ -5,6 +5,7 @@ import { s__ } from '~/locale';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants'; import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
export default { export default {
operationalTabParameter: 'operational',
i18n: { i18n: {
developmentTab: s__('SecurityReports|Development vulnerabilities'), developmentTab: s__('SecurityReports|Development vulnerabilities'),
operationalTab: s__('SecurityReports|Operational vulnerabilities'), operationalTab: s__('SecurityReports|Operational vulnerabilities'),
...@@ -71,7 +72,7 @@ export default { ...@@ -71,7 +72,7 @@ export default {
</gl-tab> </gl-tab>
<gl-tab <gl-tab
:title="$options.i18n.operationalTab" :title="$options.i18n.operationalTab"
:query-param-value="$options.i18n.operationalTab.toLowerCase()" :query-param-value="$options.operationalTabParameter"
> >
<div></div> <div></div>
</gl-tab> </gl-tab>
......
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