@odigos/ui-kit 0.0.46 → 0.0.47
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.
- package/CHANGELOG.md +7 -0
- package/lib/containers.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.47](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.46...ui-kit-v0.0.47) (2025-06-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **destination-drawer:** conditionally render conditions based on length ([#198](https://github.com/odigos-io/ui-kit/issues/198)) ([a72a292](https://github.com/odigos-io/ui-kit/commit/a72a2921c5cfdeece31136c38e3e4c8d0034e4d4))
|
|
9
|
+
|
|
3
10
|
## [0.0.46](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.45...ui-kit-v0.0.46) (2025-06-24)
|
|
4
11
|
|
|
5
12
|
|
package/lib/containers.js
CHANGED
|
@@ -14851,7 +14851,7 @@ const DestinationDrawer = ({ categories, updateDestination, deleteDestination, t
|
|
|
14851
14851
|
setIsFormDirty(true);
|
|
14852
14852
|
setDynamicFields(...params);
|
|
14853
14853
|
}, validateForm: validateForm, testConnection: testConnection }))) : (React.createElement(DataContainer$2, null,
|
|
14854
|
-
React.createElement(ConditionDetails, { conditions: thisItem.conditions
|
|
14854
|
+
thisItem.conditions?.length ? React.createElement(ConditionDetails, { conditions: thisItem.conditions }) : null,
|
|
14855
14855
|
React.createElement(DataCard, { title: DISPLAY_TITLES.DESTINATION_DETAILS, data: !!thisItem ? buildCard$2(thisItem, yamlFields) : [] })))));
|
|
14856
14856
|
};
|
|
14857
14857
|
|
|
@@ -15269,7 +15269,7 @@ const DestinationTable = ({ metrics, maxHeight, maxWidth }) => {
|
|
|
15269
15269
|
},
|
|
15270
15270
|
{
|
|
15271
15271
|
columnKey: 'conditions',
|
|
15272
|
-
component: () => React.createElement(TableCellConditions, { conditions: dest.conditions
|
|
15272
|
+
component: () => (dest.conditions?.length ? React.createElement(TableCellConditions, { conditions: dest.conditions, id: dest.id }) : null),
|
|
15273
15273
|
},
|
|
15274
15274
|
{
|
|
15275
15275
|
columnKey: 'signals',
|