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
9022cb6b
Commit
9022cb6b
authored
2 years ago
by
Sander August Heggland Schrader
Browse files
Options
Downloads
Patches
Plain Diff
Removed account from member list
parent
f1f2d069
No related branches found
Branches containing commit
No related tags found
1 merge request
!163
User card fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/UserProfileComponents/UserListItemCard.vue
+5
-0
5 additions, 0 deletions
src/components/UserProfileComponents/UserListItemCard.vue
with
5 additions
and
0 deletions
src/components/UserProfileComponents/UserListItemCard.vue
+
5
−
0
View file @
9022cb6b
...
...
@@ -3,6 +3,7 @@
Displays a user's profile picture, name, rating and some
buttons based on where the list is being shown. -->
<div
v-if=
"userID != user.userId"
class=
"bg-white shadow dark:bg-gray-800 select-none cursor-pointer hover:bg-gray-50 flex items-center p-4"
>
<!-- User image -->
...
...
@@ -67,6 +68,7 @@ import RatingComponent from "@/components/UserProfileComponents/RatingComponents
import
IconButton
from
"
@/components/BaseComponents/IconButton.vue
"
;
import
UserService
from
"
@/services/user.service
"
;
import
CommunityAdminService
from
"
@/services/community-admin.service
"
;
import
{
parseCurrentUser
}
from
"
@/utils/token-utils
"
;
import
{
ChatIcon
,
...
...
@@ -99,6 +101,9 @@ export default {
buttons
:
Array
,
},
computed
:
{
userID
()
{
return
parseCurrentUser
().
accountId
;
},
/**
* returns the user's profile picture. If the user does not have any
* profile picture the default profile picture is returned.
...
...
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