Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2219 from vault-developer/menu-bugfix
Browse files Browse the repository at this point in the history
fix: weird spacing issue in quick add icon
  • Loading branch information
matteovivona committed Jul 9, 2020
2 parents 5959f45 + 14ef415 commit 5a2a433
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shared/components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const Navbar = () => {
}

const dividerAboveLabels = [
'patients.newPatient',
'scheduling.appointments.new',
'labs.requests.new',
'incidents.reports.new',
Expand All @@ -35,7 +34,7 @@ const Navbar = () => {
onClick: () => {
navigateTo(page.path)
},
dividerAbove: dividerAboveLabels.indexOf(page.label) > -1,
dividerAbove: dividerAboveLabels.includes(page.label),
}))
}

Expand Down

1 comment on commit 5a2a433

@vercel
Copy link

@vercel vercel bot commented on 5a2a433 Jul 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.