Fix menu item template
authorAdam Dullage <redacted>
Thu, 9 May 2024 20:15:40 +0000 (21:15 +0100)
committerAdam Dullage <redacted>
Thu, 9 May 2024 20:15:40 +0000 (21:15 +0100)
client/components/PrimeMenu.vue

index f5895c3f8e7270dface7feb572917759e62c8936..7b6a7719f96e167bcadd7683c39dc94396232b03 100644 (file)
@@ -1,14 +1,14 @@
 <template>
   <Menu ref="menu" :pt="style">
     <template #item="{ item, props }">
-      <div class="flex items-center justify-between" v-bind="props.action">
+      <a class="flex items-center justify-between" v-bind="props.action">
         <IconLabel :iconPath="item.icon" :label="item.label" />
         <span
           v-if="item.keyboardShortcut"
           class="ml-4 rounded bg-theme-background-elevated px-3 py-1 text-xs"
           >{{ item.keyboardShortcut }}</span
         >
-      </div>
+      </a>
     </template>
   </Menu>
 </template>
git clone https://git.99rst.org/PROJECT