From 9fc2bf150c6dd126f1316fa44a26e574510e4da7 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 1 Mar 2021 23:55:30 +0100 Subject: [PATCH] Fikssizes --- static/js/{vue-2-5-17.js => vue-2-5-17.min.js} | 0 templates/base.html | 4 ++-- templates/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename static/js/{vue-2-5-17.js => vue-2-5-17.min.js} (100%) 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; } }