Skip to content

Commit

Permalink
24878 - fix: double call to actions. (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
hfekete authored Dec 13, 2024
1 parent a3d0c6d commit b19cf9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/components/bcros/businessDetails/LinkActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,16 @@ const actions: ComputedRef<Array<Array<MenuActionItem>>> = computed(() => {
:disabled="item.disabled"
:data-cy="'button.' + item.name"
class="w-full text-nowrap disabled:opacity-50"
@click="item.click"
@click.stop="item.click"
/>
</BcrosTooltip>
<div v-else class="w-full">
<UButton variant="ghost" :label="item.label" class="w-full text-nowrap" @click="item.click" />
<UButton
variant="ghost"
:label="item.label"
class="w-full text-nowrap"
@click.stop="item.click"
/>
</div>
</template>
</UDropdown>
Expand Down
2 changes: 1 addition & 1 deletion src/components/bcros/filing/addStaffFiling/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const actions: ComputedRef<Array<Array<MenuActionItem>>> = computed(() => {
:disabled="item.disabled"
:data-cy="item.datacy"
class="w-full text-nowrap"
@click="item.click"
@click.stop="item.click"
/>
</template>
</UDropdown>
Expand Down

0 comments on commit b19cf9d

Please sign in to comment.