Skip to content

Commit 47aaa0f

Browse files
committed
fix filter custom HTTP method case-insensitive
1 parent 71a8998 commit 47aaa0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/src/components/dashboard/http/Requests.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const events = computed<ServiceEvent[]>(() => {
8787
case 'Multi':
8888
result = result.filter(x => x.traits.name && filter.service.value.includes(x.traits.name));
8989
}
90-
const custom = filter.method.custom?.split(' ');
90+
const custom = filter.method.custom?.toUpperCase().split(' ');
9191
switch (filter.method.state) {
9292
case 'Single':
9393
if (filter.method.value[0] === 'CUSTOM') {

0 commit comments

Comments
 (0)