Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
boco-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Merge requests
!43
Fixed from id
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixed from id
fix
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Sander August Heggland Schrader
requested to merge
fix
into
main
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
c706c4f5
1 commit,
3 years ago
1 file
+
2
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/components/chat/CurrentChat.vue
+
2
−
3
Options
@@ -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
()
{
Loading