Skip to content

Commit

Permalink
fix: disabled state for pro (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkaske authored Jul 4, 2024
1 parent 5806b6e commit 80e4125
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
<Separator />
<Channel
Expand All @@ -54,7 +54,7 @@ export default function ChannelTable({ workspace, disabled }: ChannelTable) {
title="SMS"
description="Send notifications to your phones."
href="./notifications/new/sms"
disabled={disabled || isSMSAllowed}
disabled={disabled || !isSMSAllowed}
/>
</div>
</div>
Expand Down

0 comments on commit 80e4125

Please sign in to comment.