Skip to content

Commit 9429784

Browse files
committed
feat(ui): limit 20 for build templates
1 parent 8a1cf8f commit 9429784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/components/TaskForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export default {
346346
347347
this.template.type === 'deploy' ? (await axios({
348348
keys: 'get',
349-
url: `/api/project/${this.projectId}/templates/${this.template.build_template_id}/tasks?status=success`,
349+
url: `/api/project/${this.projectId}/templates/${this.template.build_template_id}/tasks?status=success&limit=20`,
350350
responseType: 'json',
351351
})).data.filter((task) => task.status === 'success') : [],
352352

0 commit comments

Comments
 (0)