Skip to content

Commit b292d28

Browse files
committed
If you disconnect the slack integration and reconnect it, don’t retain the connected channel
1 parent c6cbd1a commit b292d28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/webapp/app/presenters/v3/ErrorAlertChannelPresenter.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export class ErrorAlertChannelPresenter extends BasePresenter {
3535
break;
3636
}
3737
case "SLACK": {
38+
if (!channel.enabled) break;
3839
const parsed = ProjectAlertSlackProperties.safeParse(channel.properties);
3940
if (parsed.success) {
4041
slackChannel = {

0 commit comments

Comments
 (0)