Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit bc61aab

Browse files
authored
fix(case): report case types not loading more (#5881)
1 parent fa0a59d commit bc61aab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dispatch/static/dispatch/src/case/type/CaseTypeSelect.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default {
6464
loading: false,
6565
items: [],
6666
more: false,
67-
numItems: 40,
67+
numItems: 50,
6868
error: null,
6969
lastProjectId: null,
7070
is_type_in_project: () => {
@@ -98,7 +98,7 @@ export default {
9898
9999
methods: {
100100
loadMore() {
101-
this.numItems += 40
101+
this.numItems += 50
102102
this.fetchData()
103103
},
104104
validateType() {
@@ -153,7 +153,7 @@ export default {
153153
this.items.push(item)
154154
}
155155
})
156-
this.more = response.data.total > this.items.length
156+
this.more = response.data.total >= this.items.length
157157
})
158158
.catch((error) => {
159159
console.error("Error fetching case types:", error)

0 commit comments

Comments
 (0)