Skip to content

Commit

Permalink
finished taak audit trail
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudo-Thijn committed Oct 23, 2024
1 parent 2c2cc09 commit e4b456f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/views/taken/TaakDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import { navigationStore, taakStore } from '../../store/store.js'
{{ auditTrail.userName }}
</template>
<template #actions>
<NcActionButton @click="objectStore.setAuditTrailItem(auditTrail); navigationStore.setModal('viewObjectAuditTrail')">
<NcActionButton @click="objectStore.setAuditTrailItem(auditTrail); navigationStore.setModal('viewTaakAuditTrail')">
<template #icon>
<Eye :size="20" />
</template>
Expand All @@ -66,7 +66,7 @@ import { navigationStore, taakStore } from '../../store/store.js'
</div>
<NcEmptyContent v-else icon="icon-history" title="Geen audit trail gevonden">
<template #description>
Er is geen audit trail gevonden voor deze klant.
Er is geen audit trail gevonden voor deze taak.
</template>
</NcEmptyContent>
</BTab>
Expand All @@ -79,7 +79,8 @@ import { navigationStore, taakStore } from '../../store/store.js'

<script>
// Components
import { NcActions, NcActionButton } from '@nextcloud/vue'
import { NcActions, NcActionButton, NcListItem, NcEmptyContent } from '@nextcloud/vue'
import { BTabs, BTab } from 'bootstrap-vue'
// Icons
import DotsHorizontal from 'vue-material-design-icons/DotsHorizontal.vue'
Expand Down
4 changes: 2 additions & 2 deletions src/views/taken/TakenList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ import { navigationStore, taakStore } from '../../store/store.js'
</NcActions>
</div>
<div v-if="taakStore.takenList">
<NcListItem v-for="(taak, i) in taakStore.takenList.results"
<NcListItem v-for="(taak, i) in taakStore.takenList"
:key="`${taak}${i}`"
:name="taak?.title"
:force-display-actions="true"
:active="taakStore.taakItem?.id === taak?.id"
:details="'1h'"
:counter-number="44"
@click="navigationStore.setTaakItem(taak)">
@click="taakStore.setTaakItem(taak)">
<template #icon>
<CalendarMonthOutline :class="taakStore.taakItem?.id === taak.id && 'selectedZaakIcon'"
disable-menu
Expand Down

0 comments on commit e4b456f

Please sign in to comment.