authscape-usermanagement 1.0.6 → 1.0.8
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/index.js +3 -0
- package/package.json +1 -1
- package/src/UserManagement.js +2 -1
package/index.js
CHANGED
|
@@ -727,6 +727,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
727
727
|
function UserManagement(_ref) {
|
|
728
728
|
var _ref$customFields = _ref.customFields,
|
|
729
729
|
customFields = _ref$customFields === void 0 ? null : _ref$customFields,
|
|
730
|
+
_ref$height = _ref.height,
|
|
731
|
+
height = _ref$height === void 0 ? "50vh" : _ref$height,
|
|
730
732
|
_ref$onUploadComplete = _ref.onUploadCompleted,
|
|
731
733
|
_onUploadCompleted = _ref$onUploadComplete === void 0 ? null : _ref$onUploadComplete;
|
|
732
734
|
var _useState = (0, _react.useState)(null),
|
|
@@ -831,6 +833,7 @@ function UserManagement(_ref) {
|
|
|
831
833
|
}))
|
|
832
834
|
}, "Upload Users")), /*#__PURE__*/_react["default"].createElement(_system.Box, null, /*#__PURE__*/_react["default"].createElement(_authscape.EditableDatagrid, {
|
|
833
835
|
key: dataGridRefreshKey,
|
|
836
|
+
height: height,
|
|
834
837
|
pageSize: 25
|
|
835
838
|
// rowsPerPage={[25]}
|
|
836
839
|
,
|
package/package.json
CHANGED
package/src/UserManagement.js
CHANGED
|
@@ -11,7 +11,7 @@ import DialogContentText from '@mui/material/DialogContentText';
|
|
|
11
11
|
import DialogTitle from '@mui/material/DialogTitle';
|
|
12
12
|
import { EditableDatagrid, FileUploader } from 'authscape';
|
|
13
13
|
|
|
14
|
-
export default function UserManagement({customFields = null, onUploadCompleted = null}) {
|
|
14
|
+
export default function UserManagement({customFields = null, height = "50vh", onUploadCompleted = null}) {
|
|
15
15
|
|
|
16
16
|
const [showUserDetails, setShowUserDetails] = useState(null);
|
|
17
17
|
|
|
@@ -89,6 +89,7 @@ export default function UserManagement({customFields = null, onUploadCompleted =
|
|
|
89
89
|
<Box>
|
|
90
90
|
<EditableDatagrid
|
|
91
91
|
key={dataGridRefreshKey}
|
|
92
|
+
height={height}
|
|
92
93
|
pageSize={25}
|
|
93
94
|
// rowsPerPage={[25]}
|
|
94
95
|
url={"/UserManagement/GetUsers"}
|