Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Dec 6, 2024
1 parent cb131a8 commit 87586d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/views/eigenschappen/ZaakEigenschappen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {
data() {
return {
search: '',
loading: true,
loading: false,
zakenList: [],
}
},
Expand Down
14 changes: 4 additions & 10 deletions src/views/zaken/ZaakDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,17 +170,13 @@ import { navigationStore, zaakStore } from '../../store/store.js'
</div>
</div>
</div>
<NcLoadingIcon v-if="loading"
:size="100"
appearance="dark"
name="Zaak details aan het laden" />
</div>
</template>

<script>
// Components
import { BTabs, BTab } from 'bootstrap-vue'
import { NcLoadingIcon, NcActions, NcActionButton, NcListItem, NcEmptyContent } from '@nextcloud/vue'
import { NcActions, NcActionButton, NcListItem, NcEmptyContent } from '@nextcloud/vue'
// Icons
import DotsHorizontal from 'vue-material-design-icons/DotsHorizontal.vue'
Expand All @@ -206,7 +202,6 @@ export default {
name: 'ZaakDetails',
components: {
// Components
NcLoadingIcon,
NcActions,
NcActionButton,
BTabs,
Expand All @@ -230,7 +225,6 @@ export default {
data() {
return {
// state
loading: true,
currentActiveZaak: null,
// data
auditTrails: [],
Expand All @@ -248,17 +242,17 @@ export default {
}
},
methods: {
fetchData() {
this.loading = true
},
fetchAuditTrails(id) {
fetch(`/index.php/apps/zaakafhandelapp/api/zaken/${id}/audit_trail`)
.then(response => response.json())
.then(data => {
if (Array.isArray(data)) {
this.auditTrails = data
}
})
.finally(() => {
})
},
},
}
Expand Down

0 comments on commit 87586d8

Please sign in to comment.