Override document title when upgrading

when using websockets, to mimic old behavior without them
This commit is contained in:
Lance Edgar 2022-12-25 12:25:55 -06:00
parent 3befdc09e3
commit b04c1054fc

View file

@ -66,7 +66,7 @@
<div class="level-item has-text-centered" <div class="level-item has-text-centered"
style="display: flex; flex-direction: column;"> style="display: flex; flex-direction: column;">
<p class="block"> <p class="block">
Upgrading (please wait) ... Upgrading ${app_title} (please wait) ...
{{ executeUpgradeComplete ? "DONE!" : "" }} {{ executeUpgradeComplete ? "DONE!" : "" }}
</p> </p>
<b-progress size="is-large" <b-progress size="is-large"
@ -202,6 +202,7 @@
ThisPage.methods.showExecuteDialog = function() { ThisPage.methods.showExecuteDialog = function() {
this.upgradeExecuting = true this.upgradeExecuting = true
document.title = "Upgrading ${app_title} ..."
this.$nextTick(() => { this.$nextTick(() => {
this.adjustTextoutHeight() this.adjustTextoutHeight()
}) })