Commit 1117f548 authored by David O'Regan's avatar David O'Regan Committed by Peter Leitzen

Add extra check for Opsgenie form

parent 54b2e5a8
...@@ -107,6 +107,7 @@ export default { ...@@ -107,6 +107,7 @@ export default {
}, },
canManageOpsgenie() { canManageOpsgenie() {
return ( return (
this.opsgenie.active ||
this.integrations?.list?.every(({ active }) => active === false) || this.integrations?.list?.every(({ active }) => active === false) ||
this.integrations?.list?.length === 0 this.integrations?.list?.length === 0
); );
......
---
title: Allow opsgenie manage form to be displayed when opsgenie is enabled
merge_request: 49863
author:
type: fixed
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