fmt: Cleanup coderabbit issues from action details change
This commit is contained in:
parent
cbed6d68c2
commit
b1c74c9e04
|
|
@ -201,7 +201,7 @@ function openActionDetails() {
|
||||||
|
|
||||||
async function handleClick() {
|
async function handleClick() {
|
||||||
if (popupOnStart.value === 'history') {
|
if (popupOnStart.value === 'history') {
|
||||||
router.push(`/action/${props.actionData.bindingId}`)
|
openActionDetails()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (props.actionData.arguments && props.actionData.arguments.length > 0) {
|
if (props.actionData.arguments && props.actionData.arguments.length > 0) {
|
||||||
|
|
|
||||||
|
|
@ -29,12 +29,6 @@ func WatchFilesInDirectory(cfg *config.Config, ex *executor.Executor) {
|
||||||
scheduleExec(act, cfg, ex, filename)
|
scheduleExec(act, cfg, ex, filename)
|
||||||
})
|
})
|
||||||
}(action, dirname)
|
}(action, dirname)
|
||||||
|
|
||||||
go func(act *config.Action, dir string) {
|
|
||||||
filehelper.WatchDirectoryCreate(dir, func(filename string) {
|
|
||||||
scheduleExec(act, cfg, ex, filename)
|
|
||||||
})
|
|
||||||
}(action, dirname)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue