mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
gui: Incorrect recv-enc folder status after revert (#7142)
This commit is contained in:
parent
8ebd893349
commit
8e5c844370
@ -887,13 +887,11 @@ angular.module('syncthing.core')
|
||||
if ($scope.hasFailedFiles(folderCfg.id)) {
|
||||
return 'faileditems';
|
||||
}
|
||||
if (folderInfo.receiveOnlyTotalItems) {
|
||||
switch (folderCfg.type) {
|
||||
case 'receiveonly':
|
||||
return 'localadditions';
|
||||
case 'receiveencrypted':
|
||||
return 'localunencrypted';
|
||||
}
|
||||
if ($scope.hasReceiveOnlyChanged(folderCfg)) {
|
||||
return 'localadditions';
|
||||
}
|
||||
if ($scope.hasReceiveEncryptedItems(folderCfg)) {
|
||||
return 'localunencrypted';
|
||||
}
|
||||
if (folderCfg.devices.length <= 1) {
|
||||
return 'unshared';
|
||||
|
Loading…
x
Reference in New Issue
Block a user