Skip to content

Commit

Permalink
Refactor #2889
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Sep 2, 2022
1 parent 7c44d04 commit 8246bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/speeddial/SpeedDial.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</slot>
<ul ref="list" class="p-speeddial-list" role="menu">
<li v-for="(item, index) of model" :key="index" class="p-speeddial-item" :style="getItemStyle(index)" role="none">
<template v-if="!$slots.item && !$scopedSlots.item">
<template v-if="!$scopedSlots.item">
<a :href="item.url || '#'" role="menuitem" :class="['p-speeddial-action', { 'p-disabled': item.disabled }]" :target="item.target"
v-tooltip:[tooltipOptions]="{value: item.label, disabled: !tooltipOptions}" @click="onItemClick($event, item)" v-ripple>
<span v-if="item.icon" :class="['p-speeddial-action-icon', item.icon]"></span>
Expand Down

0 comments on commit 8246bec

Please sign in to comment.