@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.mjs CHANGED
@@ -1202,7 +1202,7 @@ const Class = (props) => {
1202
1202
  ))), /* @__PURE__ */ React.createElement("div", { style: { position: "relative" } }, /* @__PURE__ */ React.createElement(LoadingOverlay, { visible: props.loading, overlayBlur: 2 }), /* @__PURE__ */ React.createElement(Stack$3, { spacing: "sm" }, /* @__PURE__ */ React.createElement(StatsGroup, { data: [
1203
1203
  {
1204
1204
  title: "# OF STUDENTS",
1205
- value: props.members.length
1205
+ value: props.members.filter((a) => !a.isAdmin).length
1206
1206
  },
1207
1207
  {
1208
1208
  title: "ACCOUNT CREATION",
@@ -1447,10 +1447,7 @@ function Table$5(props) {
1447
1447
  }, {
1448
1448
  accessor: "status",
1449
1449
  render: (row) => /* @__PURE__ */ React.createElement(React.Fragment, null, !!row.isComplete && /* @__PURE__ */ React.createElement(Badge$1, { variant: "filled" }, "Complete"), !row.isComplete && /* @__PURE__ */ React.createElement(Badge$1, { color: "red", variant: "filled" }, "Incomplete"))
1450
- }],
1451
- rowExpansion: {
1452
- content: ({ record }) => /* @__PURE__ */ React.createElement(Stack$2, { items: record.lessons })
1453
- }
1450
+ }]
1454
1451
  }
1455
1452
  ));
1456
1453
  }