authscape-usermanagement 1.0.60 → 1.0.62
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 +1 -1
- package/package.json +1 -1
- package/src/CompanyEditor.js +0 -1
- package/src/LocationsEditor.js +1 -1
- package/src/UserEditor.js +0 -1
package/index.js
CHANGED
|
@@ -416,7 +416,7 @@ var CompanyEditor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
416
416
|
justifyContent: "center",
|
|
417
417
|
padding: 2
|
|
418
418
|
}
|
|
419
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
419
|
+
}, /*#__PURE__*/_react["default"].createElement(DropZone, {
|
|
420
420
|
image: companyLogo != null ? companyLogo : "",
|
|
421
421
|
text: "Drag 'n' drop your logo here, or click to select your logo",
|
|
422
422
|
onDrop: /*#__PURE__*/function () {
|
package/package.json
CHANGED
package/src/CompanyEditor.js
CHANGED
|
@@ -8,7 +8,6 @@ import TextField from '@mui/material/TextField';
|
|
|
8
8
|
import BusinessRoundedIcon from '@mui/icons-material/BusinessRounded';
|
|
9
9
|
import Typography from '@mui/material/Typography';
|
|
10
10
|
import Grid from '@mui/material/Grid2';
|
|
11
|
-
import { DropZone } from 'authscape';
|
|
12
11
|
|
|
13
12
|
// remove when publishing
|
|
14
13
|
// import {renderCustomField, renderSystemField } from './EditorFields';
|
package/src/LocationsEditor.js
CHANGED
|
@@ -184,7 +184,6 @@ const LocationEditor = forwardRef(({locationId = null, platformType, onSaved = n
|
|
|
184
184
|
// draftToHTML(editors[customField.customFieldId].getCurrentContent())
|
|
185
185
|
// :
|
|
186
186
|
data[customField.customFieldId];
|
|
187
|
-
|
|
188
187
|
if (newValue != null && typeof newValue === 'string')
|
|
189
188
|
{
|
|
190
189
|
userCustomFields.push({
|
|
@@ -242,6 +241,7 @@ const LocationEditor = forwardRef(({locationId = null, platformType, onSaved = n
|
|
|
242
241
|
});
|
|
243
242
|
}
|
|
244
243
|
}
|
|
244
|
+
|
|
245
245
|
|
|
246
246
|
});
|
|
247
247
|
|
package/src/UserEditor.js
CHANGED
|
@@ -297,7 +297,6 @@ const UserEditor = forwardRef(({userId = null, platformType, onSaved = null, onC
|
|
|
297
297
|
// draftToHTML(editors[customField.customFieldId].getCurrentContent())
|
|
298
298
|
// :
|
|
299
299
|
data[customField.customFieldId];
|
|
300
|
-
|
|
301
300
|
if (newValue != null && typeof newValue === 'string')
|
|
302
301
|
{
|
|
303
302
|
userCustomFields.push({
|