Skip to content

Commit

Permalink
fix: link target in the secondary menu
Browse files Browse the repository at this point in the history
  • Loading branch information
robsongajunior committed Nov 1, 2024
1 parent e0cf80b commit cd4672a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/header/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>

<div class="flex gap-2">
<a v-for="(menu, index) in menuSecondary" :key="index" target="_blank" :href="menu.link" :title="menu.title"
<a v-for="(menu, index) in menuSecondary" :key="index" :target="menu.target" :href="menu.link" :title="menu.title"
:class="[menu.destak ?
'header-button-destak p-button p-button-secondary !text-[#000000] !bg-[#ffffff] whitespace-nowrap p-button-sm hidden lg:flex' :
'p-button p-button-primary whitespace-nowrap p-button-text hover:surface-hover p-button-sm hidden lg:flex', { 'p-button-info' : menu.severity === 'info'}]">
Expand Down

0 comments on commit cd4672a

Please sign in to comment.