diff --git a/static/js/vue-2-5-17.js b/static/js/vue-2-5-17.min.js similarity index 100% rename from static/js/vue-2-5-17.js rename to static/js/vue-2-5-17.min.js diff --git a/templates/base.html b/templates/base.html index 10a01e3..8945891 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,8 +9,8 @@ integrity="sha384-cX6t2fHVBGJY7XVcJYPJJJS7nHG0AcC45H//gbb9MZkBxLD4rQ3SQkTYZwxOclNs"> - + diff --git a/templates/index.html b/templates/index.html index c342c12..7b3b40a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -71,13 +71,13 @@ } else if (action == "update_job") { for (var i = 0; i < app.jobs.length; ++i) { if (app.jobs[i].id == data.id) { - Vue.set(app.jobs, i, data); if ((app.jobs[i].state !== undefined) && (app.jobs[i].state != data.state)) { notify("Job for " + data.name + " is " + data.state); } + Vue.set(app.jobs, i, data); break; } }