Skip to content

Commit a0ddc1e

Browse files
committed
chore: add fallback for target version
1 parent 6602386 commit a0ddc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ResourceBrowser/ResourceList/DynamicTabComponentWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const DynamicTabComponentWrapper = ({
5353
.then((found) => {
5454
if (!found && addTab) {
5555
const [idPrefix, name, kind] = getTabIdParamsForPath(path, params) || []
56-
const targetK8sVersion = searchParams.get(TARGET_K8S_VERSION_SEARCH_KEY)
56+
const targetK8sVersion = searchParams.get(TARGET_K8S_VERSION_SEARCH_KEY) || ''
5757

5858
addTab({
5959
idPrefix,

0 commit comments

Comments
 (0)