// TODO: Handle alertManagementEnabled depending on resolution - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30024.
alertManagementEnabled:{
alertManagementEnabled:{
type:Boolean,
type:Boolean,
required:false,
required:true,
default:true,
},
},
enableAlertManagementPath:{
enableAlertManagementPath:{
type:String,
type:String,
required:true,
required:true,
},
},
userCanEnableAlertManagement:{
type:Boolean,
required:true,
},
emptyAlertSvgPath:{
emptyAlertSvgPath:{
type:String,
type:String,
required:true,
required:true,
...
@@ -137,11 +139,7 @@ export default {
...
@@ -137,11 +139,7 @@ export default {
</template>
</template>
</gl-table>
</gl-table>
</div>
</div>
<templatev-else>
<gl-empty-statev-else:title="__('Surface alerts in GitLab')":svg-path="emptyAlertSvgPath">
<gl-empty-state
:title="s__('AlertManagement|Surface alerts in GitLab')"
:svg-path="emptyAlertSvgPath"
>
<template#description>
<template#description>
<divclass="d-block">
<divclass="d-block">
<span>{{
<span>{{
...
@@ -149,17 +147,20 @@ export default {
...
@@ -149,17 +147,20 @@ export default {
'AlertManagement|Display alerts from all your monitoring tools directly within GitLab. Streamline the investigation of your alerts and the escalation of alerts to incidents.',
'AlertManagement|Display alerts from all your monitoring tools directly within GitLab. Streamline the investigation of your alerts and the escalation of alerts to incidents.',