Skip to content

Commit

Permalink
changed variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Dec 6, 2024
1 parent 95070c9 commit e4d29e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/views/widgets/TakenWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { taakStore, navigationStore } from '../../store/store.js'
:loading="loading"
:item-menu="itemMenu"
@show="onShow"
@sluiten="onSluiten"
@afhandelen="onAfhandelen">
@statusClose="onCloseStatus"
@statusHandled="onHandledStatus">
<template #empty-content>
<NcEmptyContent name="Geen open taken">
<template #icon>
Expand Down Expand Up @@ -80,11 +80,11 @@ export default {
text: 'Bekijk',
icon: 'icon-toggle',
},
sluiten: {
statusClose: {
text: 'Sluiten',
icon: iconProgressClose,
},
afhandelen: {
statusHandled: {
text: 'Taak Afhandelen',
icon: iconCalendarCheckOutline,
},
Expand Down Expand Up @@ -147,7 +147,7 @@ export default {
navigationStore.setModal('widgetTaakForm')
},
async onSluiten(event) {
async onCloseStatus(event) {
// change status to 'gesloten'
const { data } = await taakStore.getTaak(event.id)
Expand All @@ -168,7 +168,7 @@ export default {
}
})
},
async onAfhandelen(event) {
async onHandledStatus(event) {
// change status to 'afgerond'
const { data } = await taakStore.getTaak(event.id)
Expand Down

0 comments on commit e4d29e5

Please sign in to comment.