diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index d703898..65b6925 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -5,13 +5,14 @@ on: branches: - "master" paths-ignore: - - "script/**" - - ".gitignore" - - "*.md" + - "cmd/playground/**" - "cmd/agent/**" - ".github/workflows/agent.yml" - - ".goreleaser.yml" - ".github/ISSUE_TEMPLATE/**" + - ".goreleaser.yml" + - ".gitignore" + - "script/**" + - "*.md" jobs: deploy: diff --git a/resource/static/main.js b/resource/static/main.js index 087d5b1..eb85505 100644 --- a/resource/static/main.js +++ b/resource/static/main.js @@ -149,6 +149,9 @@ function addOrEditCron(cron) { modal.find('input[name=ID]').val(cron ? cron.ID : null) modal.find('input[name=Name]').val(cron ? cron.Name : null) modal.find('input[name=Scheduler]').val(cron ? cron.Scheduler : null) + modal.find('a.ui.label.visible').each((i,el) => { + el.remove() + }) var servers if (cron) { servers = cron.ServersRaw