You've already forked joplin
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:
@@ -63,7 +63,7 @@ function useStyle() {
|
||||
|
||||
function useRestartOnDone(upgradeResult:SyncTargetUpgradeResult) {
|
||||
useEffect(function() {
|
||||
if (upgradeResult.done) {
|
||||
if (upgradeResult.done && !upgradeResult.error) {
|
||||
bridge().restart();
|
||||
}
|
||||
}, [upgradeResult.done]);
|
||||
|
||||
Reference in New Issue
Block a user