@local-civics/mgmt-ui 0.1.66 → 0.1.67

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.d.ts CHANGED
@@ -328,7 +328,6 @@ interface Item$7 {
328
328
  badgeId: string;
329
329
  badgeName: string;
330
330
  isComplete?: boolean;
331
- lessons: Item$i[];
332
331
  }
333
332
 
334
333
  /**
package/dist/index.js CHANGED
@@ -1222,7 +1222,7 @@ const Class = (props) => {
1222
1222
  ))), /* @__PURE__ */ React__namespace.createElement("div", { style: { position: "relative" } }, /* @__PURE__ */ React__namespace.createElement(core.LoadingOverlay, { visible: props.loading, overlayBlur: 2 }), /* @__PURE__ */ React__namespace.createElement(core.Stack, { spacing: "sm" }, /* @__PURE__ */ React__namespace.createElement(StatsGroup, { data: [
1223
1223
  {
1224
1224
  title: "# OF STUDENTS",
1225
- value: props.members.length
1225
+ value: props.members.filter((a) => !a.isAdmin).length
1226
1226
  },
1227
1227
  {
1228
1228
  title: "ACCOUNT CREATION",
@@ -1467,10 +1467,7 @@ function Table$5(props) {
1467
1467
  }, {
1468
1468
  accessor: "status",
1469
1469
  render: (row) => /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, !!row.isComplete && /* @__PURE__ */ React__namespace.createElement(core.Badge, { variant: "filled" }, "Complete"), !row.isComplete && /* @__PURE__ */ React__namespace.createElement(core.Badge, { color: "red", variant: "filled" }, "Incomplete"))
1470
- }],
1471
- rowExpansion: {
1472
- content: ({ record }) => /* @__PURE__ */ React__namespace.createElement(Stack$2, { items: record.lessons })
1473
- }
1470
+ }]
1474
1471
  }
1475
1472
  ));
1476
1473
  }