Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
boco-frontend
Manage
Activity
Members
Labels
Plan
Issues
21
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
idatt2106_2022_02
boco-frontend
Commits
38e44097
Commit
38e44097
authored
2 years ago
by
Oda Alida Fønstelien Hjelljord
Browse files
Options
Downloads
Plain Diff
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
!43
Fixed from id
Pipeline
#177070
passed with stages
in 1 minute and 22 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/chat/CurrentChat.vue
+2
-3
2 additions, 3 deletions
src/components/chat/CurrentChat.vue
with
2 additions
and
3 deletions
src/components/chat/CurrentChat.vue
+
2
−
3
View file @
38e44097
...
@@ -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
_i
d
;
return
parseCurrentUser
().
account
I
d
;
},
},
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
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment