From 48f98a43bb05fa1bf81ccf122def37979ddd5b42 Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 21 Jan 2021 22:56:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20improve:=20=E5=A4=9A=E6=AC=A1?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=BC=96=E8=BE=91=E8=AE=A1=E5=88=92=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dashboard.yml | 9 +++++---- resource/static/main.js | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) 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