fix: hide pause button for members (closes #2543)

This commit is contained in:
Deepanshu committed 2025-06-25 12:52:06 +05:30
1 parent 6a079704bb
commit 8749edfaf0
1 file changed
+2 -1
@@ -83,6 +83,7 @@ const MonitorDetailsControlHeader = ({
>
{t("menu.incidents")}
</Button>
{isAdmin && (
<Button
variant="contained"
color="secondary"
@@ -99,7 +100,7 @@ const MonitorDetailsControlHeader = ({
>
{monitor?.isActive ? "Pause" : "Resume"}
</Button>
)}
{isAdmin && (
<Button
variant="contained"