Show a loading message while we determinate the status of the updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
bb58d12bca
commit
2d72c16ecd
2 changed files with 7 additions and 1 deletions
|
@ -20,3 +20,8 @@
|
|||
#updatenotification h3:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#updatenotification .icon-loading-small {
|
||||
display: inline-block;
|
||||
margin-bottom: -3px;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<template v-if="isNewVersionAvailable">
|
||||
<p>
|
||||
<span v-html="newVersionAvailableString"></span><br>
|
||||
<span v-if="!isListFetched" class="icon icon-loading-small"></span>
|
||||
<span v-html="statusText"></span>
|
||||
</p>
|
||||
|
||||
|
@ -149,7 +150,7 @@
|
|||
|
||||
statusText: function() {
|
||||
if (!this.isListFetched) {
|
||||
return '';
|
||||
return t('updatenotification', 'Checking apps for compatible updates');
|
||||
}
|
||||
|
||||
if (this.appstoreDisabled) {
|
||||
|
|
Loading…
Reference in a new issue