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:
Joas Schilling 2018-03-06 17:13:35 +01:00
parent bb58d12bca
commit 2d72c16ecd
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA
2 changed files with 7 additions and 1 deletions

View file

@ -20,3 +20,8 @@
#updatenotification h3:first-of-type {
margin-top: 0;
}
#updatenotification .icon-loading-small {
display: inline-block;
margin-bottom: -3px;
}

View file

@ -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) {