diff --git a/app/frontend/src/views/update.vue b/app/frontend/src/views/update.vue index 6130360..4237e5b 100644 --- a/app/frontend/src/views/update.vue +++ b/app/frontend/src/views/update.vue @@ -2,9 +2,10 @@

TinyCheck needs to be updated to the next version ({{next_version}}).
Please click on the button below to update it. - The process can take few minutes, please wait... + The process can take few minutes, please wait... + ✓ Update finished, let's refresh the interface...

- +
@@ -19,7 +20,8 @@ update_launched: null, check_interval: null, next_version: null, - current_version: null + current_version: null, + update_finished: false } }, methods: { @@ -29,6 +31,7 @@ if(response.data.status) { if(response.data.current_version == window.next_version){ window.current_version = response.data.current_version + this.update_finished = true clearInterval(this.check_interval); setTimeout(function () { window.location.href = "/"; }, 10000)