From 80e412547d790b73fe40e8111fca012299682c1c Mon Sep 17 00:00:00 2001
From: Maximilian Kaske <56969857+mxkaske@users.noreply.github.com>
Date: Thu, 4 Jul 2024 22:21:49 +0200
Subject: [PATCH] fix: disabled state for pro (#913)
---
.../notifications/(overview)/_components/channel-table.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/web/src/app/app/[workspaceSlug]/(dashboard)/notifications/(overview)/_components/channel-table.tsx b/apps/web/src/app/app/[workspaceSlug]/(dashboard)/notifications/(overview)/_components/channel-table.tsx
index 482f44f49a..6d96f78e7f 100644
--- a/apps/web/src/app/app/[workspaceSlug]/(dashboard)/notifications/(overview)/_components/channel-table.tsx
+++ b/apps/web/src/app/app/[workspaceSlug]/(dashboard)/notifications/(overview)/_components/channel-table.tsx
@@ -40,7 +40,7 @@ export default function ChannelTable({ workspace, disabled }: ChannelTable) {
? "http://localhost:3000"
: "https://www.openstatus.dev"
}/app/${workspace.slug}/notifications/new/pagerduty&version=2`}
- disabled={disabled || isPagerDutyAllowed}
+ disabled={disabled || !isPagerDutyAllowed}
/>