We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c223f9b commit 93916cdCopy full SHA for 93916cd
web/console/helpers/urlUtil.ts
@@ -72,7 +72,8 @@ export const reduceK8sQueryString = ({
72
// 也许value是object,即labelSelector 或者 fieldSelector
73
value = isObject(value)
74
? Object.entries(value)
75
- .map(([key, value]) => `${key}${value && '='}${value}`)
+ .filter(([_, value]) => value)
76
+ .map(([key, value]) => `${key}=${value}`)
77
.join(',')
78
: value;
79
0 commit comments