Skip to content
Snippets Groups Projects
Commit c706c4f5 authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Fixed from id

parent 57983430
No related branches found
No related tags found
1 merge request!43Fixed from id
Pipeline #177044 passed
......@@ -60,8 +60,8 @@ export default {
components: { ChatMessage },
computed: {
userid() {
console.log(parseCurrentUser());
return parseCurrentUser().account_id;
return parseCurrentUser().accountId;
},
recipientID() {
return this.recipient.userId;
......@@ -72,7 +72,6 @@ export default {
},
methods: {
calculateSide(from) {
console.log("userid ", this.userid)
return from == this.userid ? 'end' : 'start'
},
async sendMessage() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment