fix async handler in updateSingleRecording

This commit is contained in:
Nuwan 2023-03-14 20:26:45 +05:30
parent 51f5f5ecf0
commit 8d2e9d6663
1 changed files with 1 additions and 1 deletions

View File

@ -1412,7 +1412,7 @@ context.JK.SyncViewer = class SyncViewer
}`
updateSingleRecording: (recording_id) =>
@rest.getUserSyncs({recording_id: recording_id}).done(this.renderSingleRecording)
@rest.getUserSyncs({recording_id: recording_id}).then(this.renderSingleRecording)
updateProgressOnSync: ($track, queue, percentage) =>
state = if queue == 'upload' then '.upload-state' else '.client-state'