// 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,29 +139,28 @@ export default {
...
@@ -137,29 +139,28 @@ 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
<template#description>
:title="s__('AlertManagement|Surface alerts in GitLab')"
<divclass="d-block">
:svg-path="emptyAlertSvgPath"
<span>{{
>
s__(
<template#description>
'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.',