@plasmicpkgs/plasmic-rich-components 1.0.155 → 1.0.157
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.
|
@@ -2298,7 +2298,13 @@ function RichList(props) {
|
|
|
2298
2298
|
"pagination",
|
|
2299
2299
|
"onRowClick"
|
|
2300
2300
|
]);
|
|
2301
|
-
const
|
|
2301
|
+
const normalizedData = useNormalizedData(rawData);
|
|
2302
|
+
const data = React.useMemo(() => {
|
|
2303
|
+
if (!(normalizedData == null ? void 0 : normalizedData.data)) {
|
|
2304
|
+
return normalizedData;
|
|
2305
|
+
}
|
|
2306
|
+
return __spreadProps$1(__spreadValues$3({}, normalizedData), { data: tagDataArray(normalizedData.data) });
|
|
2307
|
+
}, [normalizedData]);
|
|
2302
2308
|
const { normalized, finalRoles: roleConfigs } = useRoleDefinitions$1(
|
|
2303
2309
|
data,
|
|
2304
2310
|
props
|