Skip to content

Commit

Permalink
Fix:Downloaded item server user id mismatch alert to support connecti…
Browse files Browse the repository at this point in the history
…ons with old user id #945
  • Loading branch information
advplyr committed Nov 21, 2023
1 parent ef4d7ba commit 0036a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/item/_id/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export default {
*/
isLocalMatchingUser() {
if (this.isLocalOnly || !this.localLibraryItem || !this.user) return false
return this.localLibraryItem.serverUserId === this.user.id
return this.localLibraryItem.serverUserId === this.user.id || this.localLibraryItem.serverUserId === this.user.oldUserId
},
/**
* User is currently connected to a server and this local library item has the same connection config id
Expand Down

0 comments on commit 0036a19

Please sign in to comment.