mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +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)) {
|
if ($scope.hasFailedFiles(folderCfg.id)) {
|
||||||
return 'faileditems';
|
return 'faileditems';
|
||||||
}
|
}
|
||||||
if (folderInfo.receiveOnlyTotalItems) {
|
if ($scope.hasReceiveOnlyChanged(folderCfg)) {
|
||||||
switch (folderCfg.type) {
|
|
||||||
case 'receiveonly':
|
|
||||||
return 'localadditions';
|
return 'localadditions';
|
||||||
case 'receiveencrypted':
|
|
||||||
return 'localunencrypted';
|
|
||||||
}
|
}
|
||||||
|
if ($scope.hasReceiveEncryptedItems(folderCfg)) {
|
||||||
|
return 'localunencrypted';
|
||||||
}
|
}
|
||||||
if (folderCfg.devices.length <= 1) {
|
if (folderCfg.devices.length <= 1) {
|
||||||
return 'unshared';
|
return 'unshared';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user