Commit d7df9c2c authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'lm-update-status-tabs' into 'master'

Update alert status in tabs on alert management list

See merge request gitlab-org/gitlab!32186
parents eb1606de 74cf009c
...@@ -165,6 +165,9 @@ export default { ...@@ -165,6 +165,9 @@ export default {
projectPath: this.projectPath, projectPath: this.projectPath,
}, },
}) })
.then(() => {
this.$apollo.queries.alerts.refetch();
})
.catch(() => { .catch(() => {
createFlash( createFlash(
s__( s__(
...@@ -179,7 +182,6 @@ export default { ...@@ -179,7 +182,6 @@ export default {
}, },
}; };
</script> </script>
<template> <template>
<div> <div>
<div v-if="alertManagementEnabled" class="alert-management-list"> <div v-if="alertManagementEnabled" class="alert-management-list">
......
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