Remove ... from installation state label

Makes the filter not useful in sentences
This commit is contained in:
Johannes Zellner
2019-09-23 22:45:14 +02:00
parent d72a6585d4
commit db83508920

View File

@@ -332,7 +332,7 @@ app.filter('installationStateLabel', function () {
return function(app, user) {
if (!app) return '';
var waiting = app.progress === 0 ? ' (Queued)' : '...';
var waiting = app.progress === 0 ? ' (Queued)' : '';
switch (app.installationState) {
case ISTATES.PENDING_INSTALL:
@@ -355,6 +355,7 @@ app.filter('installationStateLabel', function () {
case ISTATES.PENDING_BACKUP: return 'Backing up' + waiting;
case ISTATES.PENDING_START: return 'Starting' + waiting;
case ISTATES.PENDING_STOP: return 'Stopping' + waiting;
case ISTATES.PENDING_REPAIR: return 'Repairing' + waiting;
case ISTATES.ERROR: {
if (app.error && app.error.message === 'ETRYAGAIN') return 'DNS Error';
return 'Error';