Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
1
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
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-2024-07
frontend
Merge requests
!79
Feat/notifications
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feat/notifications
feat/notifications
into
main
Overview
0
Commits
4
Pipelines
3
Changes
11
Merged
Jens Christian Aanestad
requested to merge
feat/notifications
into
main
10 months ago
Overview
0
Commits
4
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Compare
version 1
version 2
db6731b6
10 months ago
version 1
531718ab
10 months ago
main (base)
and
version 2
latest version
128c1c20
4 commits,
10 months ago
version 2
db6731b6
3 commits,
10 months ago
version 1
531718ab
2 commits,
10 months ago
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/components/BaseComponents/NavBar.vue
+
2
−
2
Options
@@ -38,9 +38,9 @@
</a>
<ul
v-if=
"notificationListRef.length > 0"
class=
"dropdown-menu"
aria-labelledby=
"navbarDropdownMenuLink"
>
<li
v-for=
"(item, index) in notificationListRef"
:key=
"index"
>
<router-link
:to=
"notificationPathMapper(item.notificationType)"
class=
"d-flex align-items-center"
>
<router-link
:to=
"notificationPathMapper
[String
(item.notificationType)
]
"
class=
"d-flex align-items-center"
>
<div
class=
"flex-shrink-0"
>
<img
:src=
"notificationImageMapper(item.notificationType)"
alt=
"Varslingsikon"
class=
"notification-icon"
>
<img
:src=
"notificationImageMapper
[String
(item.notificationType)
]
"
alt=
"Varslingsikon"
class=
"notification-icon"
>
</div>
<div
class=
"flex-grow-1 ms-3"
>
<div
class=
"not-item dropdown-item"
>
{{
item
.
message
}}
</div>
Loading