Skip to content

Commit

Permalink
1.224.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricS01 committed Nov 19, 2024
1 parent 181fe36 commit 0950759
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/UserPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
{{ showUser.description || `Hi, I'm ${showUser.username}!` }}
</p>
</div>
<div v-if="showUser.tetris.length">
<div v-if="showUser.tetris?.length">
<div class="profile-spacer">
<p>Tetris Scores</p>
<div />
Expand Down
2 changes: 1 addition & 1 deletion src/views/BetterComms/Account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
<router-link to="/">ElectricS01</router-link>
</div>
<div class="settings-spacer" />
<div>Version: 1.224.1</div>
<div>Version: 1.224.2</div>
<div class="settings-spacer" />
<div>Backend name: {{ serverName }}</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/views/BetterComms/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,9 @@ if (!localStorage.getItem("token")) {
scrollDown()
}
} else if (socketMessage.changeUser) {
if (socketMessage.changeUser.id === showUser.value.id) {
showUser.value = socketMessage.changeUser
}
const userToUpdate = currentChat.value.users.findIndex(
(user) => user.id === socketMessage.changeUser.id
)
Expand Down

0 comments on commit 0950759

Please sign in to comment.