@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.57 → 0.0.1-alpha.58
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.
|
@@ -45288,7 +45288,17 @@ const EnrichedTable = ({
|
|
|
45288
45288
|
children
|
|
45289
45289
|
}) => {
|
|
45290
45290
|
const { data: multiQueryData, isLoading: isMultiqueryLoading } = useMultiQuery();
|
|
45291
|
-
const {
|
|
45291
|
+
const {
|
|
45292
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
45293
|
+
id,
|
|
45294
|
+
fetchUrl,
|
|
45295
|
+
pathToItems,
|
|
45296
|
+
clusterNamePartOfUrl,
|
|
45297
|
+
labelsSelector,
|
|
45298
|
+
labelsSelectorFull,
|
|
45299
|
+
fieldSelector,
|
|
45300
|
+
...props
|
|
45301
|
+
} = data;
|
|
45292
45302
|
const theme = useTheme();
|
|
45293
45303
|
const partsOfUrl = usePartsOfUrl();
|
|
45294
45304
|
const replaceValues = partsOfUrl.partsOfUrl.reduce((acc, value, index) => {
|
|
@@ -45313,6 +45323,11 @@ const EnrichedTable = ({
|
|
|
45313
45323
|
const serializedLabels = serializeLabels(parsedObject);
|
|
45314
45324
|
labelsSuffix = serializeLabels.length > 0 ? `?labelSelector=${serializedLabels}` : void 0;
|
|
45315
45325
|
}
|
|
45326
|
+
if (labelsSelectorFull) {
|
|
45327
|
+
const value = _$1.get(multiQueryData[`req${labelsSelectorFull.reqIndex}`], labelsSelectorFull.pathToLabels);
|
|
45328
|
+
const serializedLabels = serializeLabels(value);
|
|
45329
|
+
labelsSuffix = serializeLabels.length > 0 ? `?labelSelector=${serializedLabels}` : void 0;
|
|
45330
|
+
}
|
|
45316
45331
|
let fieldSelectorSuffix;
|
|
45317
45332
|
if (fieldSelector) {
|
|
45318
45333
|
const preparedFieldSelectorValueText = parseMutliqueryText({ text: fieldSelector?.parsedText, multiQueryData });
|