fix: Fix critical syntax error in renderer.js that was blocking UI updates - Remove extra closing brace in updateSyncStatus method - Fix 'Unexpected token this' error that prevented renderer execution - Restore real-time sync status display in UI - Sync functionality was working perfectly, only UI rendering was broken
This commit is contained in:
parent
b6e961dc84
commit
11c714124b
@ -241,7 +241,6 @@ class RekordboxSyncRenderer {
|
|||||||
if (forceSyncBtn) {
|
if (forceSyncBtn) {
|
||||||
forceSyncBtn.disabled = status.isRunning;
|
forceSyncBtn.disabled = status.isRunning;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Update files synced count with more detail
|
// Update files synced count with more detail
|
||||||
if (this.filesSyncedElement) {
|
if (this.filesSyncedElement) {
|
||||||
|
|||||||
@ -404,6 +404,7 @@ class RekordboxSyncApp {
|
|||||||
lastUpdate: new Date().toISOString()
|
lastUpdate: new Date().toISOString()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log('📤 Sending to renderer:', uiState);
|
||||||
safeSend('sync-status-changed', uiState);
|
safeSend('sync-status-changed', uiState);
|
||||||
this.updateTrayTooltip(uiState);
|
this.updateTrayTooltip(uiState);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -694,6 +694,7 @@ export class AwsS3Service extends EventEmitter {
|
|||||||
*/
|
*/
|
||||||
private emitStatusUpdate(): void {
|
private emitStatusUpdate(): void {
|
||||||
const status = this.getStatus();
|
const status = this.getStatus();
|
||||||
|
console.log('🔍 AWS S3 Service emitting status:', status);
|
||||||
this.emit('statusChanged', status);
|
this.emit('statusChanged', status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user