Skip to content

Commit

Permalink
u this.user?.id
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Jul 9, 2023
1 parent 4011fa8 commit 6d6cd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/collection/collection-detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default {
return this.$route.params.id
},
showCreateCollection() {
return this.item.create_user_id == this.user.id;
return this.item.create_user_id == this.user?.id;
},
user() {
return this.$store.state.user
Expand Down

0 comments on commit 6d6cd62

Please sign in to comment.