Skip to content

Commit 457e5bf

Browse files
fix(web): webhook tasks hide run-now and explain unopened deep links
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 8a007c1 commit 457e5bf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎apps/web/src/components/settings/ScheduledTasksSettings.tsx‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,12 @@ function ScheduledTaskEnvironmentSection({
347347
description="This task no longer exists or is outside the selected project scope."
348348
role="status"
349349
/>
350+
) : linkedTask?.schedule.type === "webhook" ? (
351+
<SettingsRow
352+
title="Webhook tasks can't be edited here yet"
353+
description="Update T3 Code to edit this task."
354+
role="status"
355+
/>
350356
) : null}
351357
{tasks.length === 0 ? (
352358
<SettingsRow
@@ -455,7 +461,7 @@ function ScheduledTaskRow({
455461
<PencilIcon />
456462
Edit
457463
</MenuItem>
458-
<MenuItem onClick={() => void act("run")}>
464+
<MenuItem onClick={() => void act("run")} disabled={task.schedule.type === "webhook"}>
459465
<PlayIcon />
460466
Run now
461467
</MenuItem>

0 commit comments

Comments
 (0)