Skip to content

Commit

Permalink
Update Chat.vue
Browse files Browse the repository at this point in the history
Fixed an error that was always showing in the console.
  • Loading branch information
SalleeMatthew authored and dburleson committed Jun 29, 2024
1 parent 1b0c77e commit a2d6d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spa/src/components/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ export default Vue.extend({
'id': this.$store.data.user.id
});
}
if(admin.data.status === 'success'){
if(admin && admin.data.status === 'success'){
this.canModify = true;
if(this.$store.data.view3d){
this.canInteractWithObject = true;
Expand Down

0 comments on commit a2d6d7a

Please sign in to comment.