Commit bd732f92 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'alert-management-list-filter-naming' into 'master'

Alert list filter naming fix

See merge request gitlab-org/gitlab!31772
parents 28a8a06d fcb2fbac
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
}, },
}, },
methods: { methods: {
filterALertsByStatus(tabIndex) { filterAlertsByStatus(tabIndex) {
this.statusFilter = this.$options.statusTabs[tabIndex].filters; this.statusFilter = this.$options.statusTabs[tabIndex].filters;
}, },
capitalizeFirstCharacter, capitalizeFirstCharacter,
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
{{ $options.i18n.errorMsg }} {{ $options.i18n.errorMsg }}
</gl-alert> </gl-alert>
<gl-tabs v-if="glFeatures.alertListStatusFilteringEnabled" @input="filterALertsByStatus"> <gl-tabs v-if="glFeatures.alertListStatusFilteringEnabled" @input="filterAlertsByStatus">
<gl-tab v-for="tab in $options.statusTabs" :key="tab.status"> <gl-tab v-for="tab in $options.statusTabs" :key="tab.status">
<template slot="title"> <template slot="title">
<span>{{ tab.title }}</span> <span>{{ tab.title }}</span>
......
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