Skip to content

Commit

Permalink
use the isMenu prop of list item actions
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Nov 28, 2023
1 parent 7457b71 commit debbae4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/NavigationDirectoryItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
{{ t('gpxpod', 'Zoom to bounds') }}
</NcActionButton>
<NcActionButton :close-after-click="false"
:is-menu="true"
@click="sortActionsOpen = true">
<template #icon>
<SortAscending :size="20" />
Expand All @@ -183,6 +184,7 @@
{{ t('gpxpod', 'Remove from list') }}
</NcActionButton>
<NcActionButton :close-after-click="false"
:is-menu="true"
@click="extraActionsOpen = true">
<template #icon>
<DotsHorizontalIcon :size="20" />
Expand Down
1 change: 1 addition & 0 deletions src/components/NavigationTrackItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
</NcActionButton>
<NcActionButton
:close-after-click="false"
:is-menu="true"
@click="criteriaActionsOpen = true">
<template #icon>
<BrushIcon :size="20" />
Expand Down
1 change: 1 addition & 0 deletions src/components/TrackListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
</NcActionButton>
<NcActionButton
:close-after-click="false"
:is-menu="true"
@click="criteriaActionsOpen = true">
<template #icon>
<BrushIcon :size="20" />
Expand Down

0 comments on commit debbae4

Please sign in to comment.