authscape 1.0.498 → 1.0.502
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
CHANGED
|
@@ -4855,7 +4855,7 @@ function ManageMappingDocuments(_ref) {
|
|
|
4855
4855
|
sx: {
|
|
4856
4856
|
paddingBottom: 2
|
|
4857
4857
|
}
|
|
4858
|
-
}, "Please select the type of document, then click \"Choose a file\""),
|
|
4858
|
+
}, "Please select the type of document, then click \"Choose a file\""), documentTypeId == null && /*#__PURE__*/_react["default"].createElement(_system.Box, {
|
|
4859
4859
|
sx: {
|
|
4860
4860
|
marginTop: 2
|
|
4861
4861
|
}
|
|
@@ -4882,7 +4882,7 @@ function ManageMappingDocuments(_ref) {
|
|
|
4882
4882
|
return /*#__PURE__*/_react["default"].createElement(_MenuItem["default"], {
|
|
4883
4883
|
value: componentType.id
|
|
4884
4884
|
}, componentType.name);
|
|
4885
|
-
}))))), selectedDocument != null && /*#__PURE__*/_react["default"].createElement(_system.Box, {
|
|
4885
|
+
}))))), (selectedDocument != null || selectedDocument == null && documentTypeId != null) && /*#__PURE__*/_react["default"].createElement(_system.Box, {
|
|
4886
4886
|
sx: {
|
|
4887
4887
|
textAlign: "center",
|
|
4888
4888
|
width: "100%",
|
package/package.json
CHANGED
|
@@ -282,7 +282,7 @@ export function ManageMappingDocuments({hideDocumentManager = false, documentTyp
|
|
|
282
282
|
Please select the type of document, then click "Choose a file"
|
|
283
283
|
</DialogContentText>
|
|
284
284
|
|
|
285
|
-
{
|
|
285
|
+
{documentTypeId == null &&
|
|
286
286
|
<Box sx={{marginTop:2}}>
|
|
287
287
|
<Box sx={{ minWidth: 120 }}>
|
|
288
288
|
<FormControl fullWidth>
|
|
@@ -309,7 +309,7 @@ export function ManageMappingDocuments({hideDocumentManager = false, documentTyp
|
|
|
309
309
|
</Box>
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
{(selectedDocument != null) &&
|
|
312
|
+
{(selectedDocument != null || (selectedDocument == null && documentTypeId != null)) &&
|
|
313
313
|
|
|
314
314
|
<Box sx={{textAlign:"center", width:"100%", display:"flex", alignItems:"center", paddingTop:2}}>
|
|
315
315
|
<FileUploader refOveride={fileUploaderRef} params={{
|