1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Desktop: Added more logging info to sync target upgrade process

This commit is contained in:
Laurent Cozic
2020-08-29 19:12:02 +01:00
parent 797f4a9669
commit 11646d1c21
2 changed files with 8 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ function useStyle() {
function useRestartOnDone(upgradeResult:SyncTargetUpgradeResult) {
useEffect(function() {
if (upgradeResult.done) {
if (upgradeResult.done && !upgradeResult.error) {
bridge().restart();
}
}, [upgradeResult.done]);