From b1c74c9e040e146795544c470d6505102c688944 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sat, 23 May 2026 11:38:10 +0100 Subject: [PATCH] fmt: Cleanup coderabbit issues from action details change --- frontend/resources/vue/ActionButton.vue | 2 +- service/internal/onfileindir/fileindir.go | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/resources/vue/ActionButton.vue b/frontend/resources/vue/ActionButton.vue index 263ef31..a93d453 100644 --- a/frontend/resources/vue/ActionButton.vue +++ b/frontend/resources/vue/ActionButton.vue @@ -201,7 +201,7 @@ function openActionDetails() { async function handleClick() { if (popupOnStart.value === 'history') { - router.push(`/action/${props.actionData.bindingId}`) + openActionDetails() return } if (props.actionData.arguments && props.actionData.arguments.length > 0) { diff --git a/service/internal/onfileindir/fileindir.go b/service/internal/onfileindir/fileindir.go index 73a7ac8..b6085d1 100644 --- a/service/internal/onfileindir/fileindir.go +++ b/service/internal/onfileindir/fileindir.go @@ -29,12 +29,6 @@ func WatchFilesInDirectory(cfg *config.Config, ex *executor.Executor) { scheduleExec(act, cfg, ex, filename) }) }(action, dirname) - - go func(act *config.Action, dir string) { - filehelper.WatchDirectoryCreate(dir, func(filename string) { - scheduleExec(act, cfg, ex, filename) - }) - }(action, dirname) } } }