mailboxName should have lower priority than location change
This commit is contained in:
@@ -169,12 +169,6 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca
|
||||
} else {
|
||||
return name + ' was taken out of repair mode';
|
||||
}
|
||||
} else if (('mailboxName' in data) && data.mailboxName !== data.app.mailboxName) {
|
||||
if (data.mailboxName) {
|
||||
return 'Mailbox of ' + name + ' was set to ' + q(data.mailboxName);
|
||||
} else {
|
||||
return 'Mailbox of ' + name + ' was reset';
|
||||
}
|
||||
} else if ('enableBackup' in data) {
|
||||
return 'Automatic backups of ' + name + ' was ' + (data.enableBackup ? 'enabled' : 'disabled');
|
||||
} else if ('enableAutomaticUpdate' in data) {
|
||||
@@ -208,6 +202,12 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca
|
||||
} else {
|
||||
return 'Icon of ' + name + ' was reset';
|
||||
}
|
||||
} else if (('mailboxName' in data) && data.mailboxName !== data.app.mailboxName) {
|
||||
if (data.mailboxName) {
|
||||
return 'Mailbox of ' + name + ' was set to ' + q(data.mailboxName);
|
||||
} else {
|
||||
return 'Mailbox of ' + name + ' was reset';
|
||||
}
|
||||
}
|
||||
|
||||
return data.app.manifest.title + ' was re-configured at ' + (data.app.fqdn || data.app.location);
|
||||
|
||||
Reference in New Issue
Block a user