Skip to content

Commit

Permalink
refs #70 add duplicate bill action on bill list item
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
  • Loading branch information
julien-nc committed Jan 1, 2023
1 parent f8f4752 commit d916a2b
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 87 deletions.
176 changes: 90 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
@items-deleted="onBillsDeleted"
@multi-bill-edit="onMultiBillEdit"
@reset-selection="onResetSelection"
@duplicate-bill="onDuplicateBill"
@new-bill-clicked="onNewBillClicked"
@move-bill-clicked="onMoveBillClicked" />
</template>
Expand Down
3 changes: 2 additions & 1 deletion src/BillList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
:select-mode="selectMode"
@clicked="onItemClicked"
@delete="onItemDeleted"
@move="onItemMove(bill)" />
@move="onItemMove(bill)"
@duplicate-bill="$emit('duplicate-bill', $event)" />
</transition-group>
<InfiniteLoading v-if="!loading && bills.length > 30"
:identifier="projectId"
Expand Down

0 comments on commit d916a2b

Please sign in to comment.