Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
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
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
Commits
39f996c4
Commit
39f996c4
authored
1 year ago
by
Anders Høvik
Browse files
Options
Downloads
Patches
Plain Diff
Fix: fixed hiding arrow
parent
af9ba280
No related branches found
Branches containing commit
No related tags found
1 merge request
!59
Feature/inbox
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/BaseComponents/Menu.vue
+8
-4
8 additions, 4 deletions
src/components/BaseComponents/Menu.vue
with
8 additions
and
4 deletions
src/components/BaseComponents/Menu.vue
+
8
−
4
View file @
39f996c4
...
...
@@ -29,7 +29,7 @@
src=
"@/assets/icons/storefront.svg"
>
Store
</router-link>
</li>
<li
class=
"nav-item dropdown"
>
<a
class=
" nav-link me-3 dropdown-toggle hidden-arrow"
href=
"#"
id=
"navbarDropdownMenuLink"
<a
data-mdb-dropdown-init
class=
" nav-link me-3 dropdown-toggle hidden-arrow
notification
"
href=
"#"
id=
"navbarDropdownMenuLink"
role=
"button"
data-bs-toggle=
"dropdown"
aria-expanded=
"false"
>
<i
class=
"fas fa-bell text-white"
></i>
<span
class=
"badge rounded-pill badge-notification bg-danger"
>
1
</span>
...
...
@@ -41,7 +41,7 @@
</ul>
</li>
<li
v-if=
"userStore.isLoggedIn"
class=
"nav-item dropdown"
>
<a
class=
"nav-link dropdown-toggle username-text text-white
"
href=
"#"
role=
"button"
<a
class=
"nav-link dropdown-toggle username-text text-white"
href=
"#"
role=
"button"
data-bs-toggle=
"dropdown"
aria-expanded=
"false"
>
<img
src=
"@/assets/icons/person.svg"
>
{{
useUserInfoStore
().
firstname
}}
</a>
...
...
@@ -86,7 +86,7 @@ let notifMap = ref (new Map<number, any[]>);
let
notifId
=
ref
(
0
);
let
path
=
ref
(
'
#
'
);
let
path
=
ref
(
''
);
let
notReadNotification
=
[
'
You
'
,
'
Another news
'
,
'
Something else here
'
];
...
...
@@ -120,7 +120,6 @@ function toBadges(){
function
goToSite
(
id
:
string
){
if
(
id
===
'
1
'
){
path
.
value
=
'
/profile
'
return
path
}
if
(
id
===
'
2
'
){
path
.
value
=
'
/friends
'
...
...
@@ -280,4 +279,9 @@ onMounted(() => {
height
:
auto
;
aspect-ratio
:
1.3
/
1
;
}
.notification.hidden-arrow
::after
{
display
:
none
;
}
</
style
>
\ No newline at end of file
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