Skip to content

Commit

Permalink
fix: add key with total on page-header to refresh page with correct i…
Browse files Browse the repository at this point in the history
…nput value
  • Loading branch information
caro3801 committed Oct 28, 2024
1 parent 6562905 commit 418abd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Task/DocumentAddition/TaskDocumentAdditionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const tasks = computed(() => {
})
onMounted(async () => {
wait.start('load task-documentAddition-list tasks')
try {
wait.start('load task-documentAddition-list tasks')
await startPollingTasks()
} finally {
wait.end('load task-documentAddition-list tasks')
Expand Down Expand Up @@ -95,6 +95,7 @@ const howToLink = computed(() => {
</script>
<template>
<page-header
:key="filteredTasks.length"
v-model:searchQuery="searchQuery"
v-model:page="page"
:per-page="perPage"
Expand Down

0 comments on commit 418abd6

Please sign in to comment.