Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Oct 23, 2024
1 parent c84628b commit 0dc8346
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
7 changes: 5 additions & 2 deletions src/views/widgets/OpenZakenWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ import { zaakStore } from '../../store/store.js'
<div class="itemContainer">
<NcDashboardWidget :items="items"
:loading="loading"
:item-menu="itemMenu"
@show="onShow">
<template #empty-content>
<NcEmptyContent :title="t('Geen open zaken')">
<template #icon>
<FolderIcon />
<Folder />
</template>
</NcEmptyContent>
</template>
Expand All @@ -31,6 +30,7 @@ import { zaakStore } from '../../store/store.js'
// Components
import { NcDashboardWidget, NcEmptyContent, NcButton } from '@nextcloud/vue'
import OpenInApp from 'vue-material-design-icons/OpenInApp.vue'
import Folder from 'vue-material-design-icons/Folder.vue'
export default {
name: 'OpenZakenWidget',
Expand Down Expand Up @@ -74,6 +74,9 @@ export default {
this.loading = false
})
},
search() {
console.info('click')
},
onShow() {
window.open('/apps/opencatalogi/catalogi', '_self')
},
Expand Down
7 changes: 5 additions & 2 deletions src/views/widgets/TakenWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ import { taakStore } from '../../store/store.js'
<div class="itemContainer">
<NcDashboardWidget :items="items"
:loading="loading"
:item-menu="itemMenu"
@show="onShow">
<template #empty-content>
<NcEmptyContent :title="t('Geen open taken')">
<template #icon>
<FolderIcon />
<Folder />
</template>
</NcEmptyContent>
</template>
Expand All @@ -32,6 +31,7 @@ import { taakStore } from '../../store/store.js'
// Components
import { NcDashboardWidget, NcEmptyContent, NcButton } from '@nextcloud/vue'
import Plus from 'vue-material-design-icons/Plus.vue'
import Folder from 'vue-material-design-icons/Folder.vue'
export default {
name: 'TakenWidget',
Expand Down Expand Up @@ -75,6 +75,9 @@ export default {
this.loading = false
})
},
search() {
console.info('click')
},
onShow() {
window.open('/apps/opencatalogi/catalogi', '_self')
},
Expand Down
4 changes: 3 additions & 1 deletion src/views/widgets/ZakenWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { zaakStore } from '../../store/store.js'
<div class="itemContainer">
<NcDashboardWidget :items="items"
:loading="loading"
:item-menu="itemMenu"
@show="onShow">
<template #empty-content>
<NcEmptyContent :title="t('Geen open zaken')">
Expand Down Expand Up @@ -77,6 +76,9 @@ export default {
this.loading = false
})
},
search() {
console.info('click')
},
onShow() {
window.open('/apps/opencatalogi/catalogi', '_self')
},
Expand Down

0 comments on commit 0dc8346

Please sign in to comment.