Skip to content

Commit d6f3ec6

Browse files
feat(mobile): webhook tasks are editable again
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 2c42bd2 commit d6f3ec6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,8 +1105,6 @@ function EnvironmentTasks({
11051105
<Pressable
11061106
accessibilityRole="button"
11071107
accessibilityLabel={`Edit ${task.title}`}
1108-
// Webhook tasks are not editable here yet; saving would drop their URL.
1109-
disabled={task.schedule.type === "webhook"}
11101108
onPress={() => {
11111109
onEdit(task);
11121110
}}
@@ -1131,7 +1129,7 @@ function EnvironmentTasks({
11311129
</Pressable>
11321130
<ControlPillMenu
11331131
actions={[
1134-
...(task.schedule.type === "webhook" ? [] : [{ id: "edit", title: "Edit" }]),
1132+
{ id: "edit", title: "Edit" },
11351133
{ id: "toggle", title: task.enabled ? "Pause" : "Resume" },
11361134
// A webhook task has no request to run without.
11371135
...(task.schedule.type === "webhook" ? [] : [{ id: "run", title: "Run now" }]),

0 commit comments

Comments
 (0)