Skip to content

Commit

Permalink
auto detach pinned video in case removeComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Dec 26, 2024
1 parent 1f800fa commit d6a786c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/ChatVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,10 @@ export default {
}
}
if (track.sid === this.chatStore.pinnedTrackSid) {
this.chatStore.pinnedTrackSid = null;
}
this.recalculateLayout();
this.electNewPresenterIfNeed();
},
Expand Down

0 comments on commit d6a786c

Please sign in to comment.