Skip to content
Snippets Groups Projects
Commit 38e44097 authored by Oda Alida Fønstelien Hjelljord's avatar Oda Alida Fønstelien Hjelljord
Browse files

Merge branch 'fix' into 'main'

Fixed from id

See merge request !43
parents 9e5f1b23 c706c4f5
No related branches found
No related tags found
1 merge request!43Fixed from id
Pipeline #177070 passed with stages
in 1 minute and 22 seconds
...@@ -60,8 +60,8 @@ export default { ...@@ -60,8 +60,8 @@ export default {
components: { ChatMessage }, components: { ChatMessage },
computed: { computed: {
userid() { userid() {
console.log(parseCurrentUser());
return parseCurrentUser().account_id; return parseCurrentUser().accountId;
}, },
recipientID() { recipientID() {
return this.recipient.userId; return this.recipient.userId;
...@@ -72,7 +72,6 @@ export default { ...@@ -72,7 +72,6 @@ export default {
}, },
methods: { methods: {
calculateSide(from) { calculateSide(from) {
console.log("userid ", this.userid)
return from == this.userid ? 'end' : 'start' return from == this.userid ? 'end' : 'start'
}, },
async sendMessage() { 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