Skip to content

Commit bb915ee

Browse files
committed
fix sorting parameters
1 parent e95319a commit bb915ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/src/components/dashboard/http/request/HttpParameters.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const examples = computed(() => {
3030
return result
3131
})
3232
const sortedParameters = computed(() => {
33-
props.parameters?.sort((p1, p2) => {
33+
return props.parameters?.sort((p1, p2) => {
3434
const r = getParameterTypeSortOrder(p1.type) - getParameterTypeSortOrder(p2.type)
3535
if (r !== 0) {
3636
return r

0 commit comments

Comments
 (0)