Skip to content

Commit

Permalink
Fix asynchronous bug in ChatView.vue caused by resetVideoInvitation()…
Browse files Browse the repository at this point in the history
… in App.vue
  • Loading branch information
nkonev committed Jan 13, 2024
1 parent 5ed26f8 commit 4dfbadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ export default {
},
resetVideoInvitation() {
this.invitedVideoChatAlert = false;
this.invitedVideoChatId = 0;
// this.invitedVideoChatId = 0; // we don't reset it in order to let asynchronous core read the value (if we do this - async mount() -> fetchAndSetChat() in ChatView.vue gonna go to error due to chatId == 0)
this.invitedVideoChatName = null;
},
onVideoCallInvited(data) {
Expand Down

0 comments on commit 4dfbadd

Please sign in to comment.