Skip to content

Commit 95abc27

Browse files
committed
fix(tasks): fallback monitor name in disconnect dialog
1 parent 65f4b87 commit 95abc27

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/app/src/app/(app)/[orgId]/tasks/[taskId]/components/TaskIntegrationChecks.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,13 @@ export function TaskIntegrationChecks({
766766
<AlertDialogDescription>
767767
{disconnectTarget ? (
768768
<>
769-
<strong>{disconnectTarget.integrationName}</strong>
769+
<strong>
770+
{disconnectTarget.integrationName ||
771+
disconnectTarget.checkName}
772+
</strong>
770773
{disconnectTarget.checkName !==
771-
disconnectTarget.integrationName && (
774+
(disconnectTarget.integrationName ||
775+
disconnectTarget.checkName) && (
772776
<>
773777
{' '}
774778
(<strong>{disconnectTarget.checkName}</strong> check)

0 commit comments

Comments
 (0)