@local-civics/mgmt-ui 0.1.199 → 0.1.200

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/dist/index.js CHANGED
@@ -1155,12 +1155,21 @@ var __spreadValues$c = (a, b) => {
1155
1155
  };
1156
1156
  var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
1157
1157
  function Table$c(props) {
1158
+ console.group("Class Table Data Check");
1159
+ console.log("1. Raw props:", props);
1160
+ console.log("2. Raw items from prop.items:", props.items);
1161
+ if (props.items.length > 0) {
1162
+ console.log("3. Type of lastActivity (first item):", typeof props.items[0].lastActivity, props.items[0].lastActivity);
1163
+ }
1158
1164
  const preparedItems = React__namespace.useMemo(() => {
1159
1165
  return props.items.map((item) => __spreadProps$8(__spreadValues$c({}, item), {
1160
1166
  fullName: item.givenName && item.familyName ? `${item.givenName} ${item.familyName}`.toLowerCase() : item.email.toLowerCase()
1161
1167
  }));
1162
1168
  }, [props.items]);
1169
+ console.log("4. Prepared items (before sort hook):", preparedItems);
1170
+ console.groupEnd();
1163
1171
  const { items: sortedItems, requestSort, sortConfig } = useSortableData(preparedItems);
1172
+ console.log("5. Final sorted items:", sortedItems);
1164
1173
  if (props.items.length === 0) {
1165
1174
  return /* @__PURE__ */ React__namespace.createElement(
1166
1175
  PlaceholderBanner,