Skip to content

Commit

Permalink
fix syntching stop to sync when devices changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Jan 11, 2024
1 parent 44a89a0 commit 8a9dba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZelBack/src/services/appsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -10381,7 +10381,7 @@ async function syncthingApps() {
foldersConfiguration.push(syncthingFolder);
if (!syncFolder) {
newFoldersConfiguration.push(syncthingFolder);
} else if (syncFolder && (syncFolder.paused || syncFolder.type !== syncthingFolder.type)) {
} else if (syncFolder && (syncFolder.paused || syncFolder.type !== syncthingFolder.type || syncFolder.devices !== syncthingFolder.devices)) {
newFoldersConfiguration.push(syncthingFolder);
}
}
Expand Down

0 comments on commit 8a9dba8

Please sign in to comment.