@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.88 → 0.0.1-alpha.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8679,7 +8679,7 @@ const findMatchingItems = ({
|
|
|
8679
8679
|
const currentPath = [...parents, node.key ? node.key : String(node.key)];
|
|
8680
8680
|
const cleanNodeInternalMetaLink = node.internalMetaLink?.startsWith("/") ? node.internalMetaLink.slice(1) : node.internalMetaLink;
|
|
8681
8681
|
const cleanPathname = pathname.startsWith("/") ? pathname.slice(1) : pathname;
|
|
8682
|
-
const matched = cleanNodeInternalMetaLink === cleanPathname
|
|
8682
|
+
const matched = cleanNodeInternalMetaLink === cleanPathname ? currentPath : [];
|
|
8683
8683
|
const tagsToMatch = tags && tags.keysAndTags && node.key ? tags.keysAndTags[typeof node.key === "string" ? node.key : String(node.key)] : void 0;
|
|
8684
8684
|
const matchedByTags = tags && tags.currentTags && tagsToMatch && tagsToMatch.some((tag) => tags.currentTags?.includes(tag)) ? currentPath : [];
|
|
8685
8685
|
let childrenResults = [];
|