Skip to content

Commit

Permalink
fix(NcListItem): Merge actions into one source location
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Feb 2, 2024
1 parent 78c7078 commit ee9f232
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -383,23 +383,9 @@
</span>
</div>
</div>

<!-- Actions -->
<div v-if="!forceDisplayActions"
v-show="displayActionsOnHoverFocus"
class="list-item-content__actions"
@click.prevent.stop="">
<NcActions ref="actions"
:primary="isActive || active"
:aria-label="computedActionsAriaLabel"
@update:open="handleActionsUpdateOpen">
<!-- @slot Provide the actions for the right side quick menu -->
<slot name="actions" />
</NcActions>
</div>
</div>
<!-- Actions -->
<div v-if="forceDisplayActions"
<div v-show="forceDisplayActions || displayActionsOnHoverFocus"
class="list-item-content__actions"
@click.prevent.stop="">
<NcActions ref="actions"
Expand Down

0 comments on commit ee9f232

Please sign in to comment.