authscape 1.0.500 → 1.0.504
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
|
@@ -4850,7 +4850,7 @@ function ManageMappingDocuments(_ref) {
|
|
|
4850
4850
|
"aria-describedby": "alert-dialog-description"
|
|
4851
4851
|
}, /*#__PURE__*/_react["default"].createElement(_DialogTitle["default"], {
|
|
4852
4852
|
id: "alert-dialog-title"
|
|
4853
|
-
}, "Upload Document"), /*#__PURE__*/_react["default"].createElement(_DialogContent["default"], null, /*#__PURE__*/_react["default"].createElement(_DialogContentText["default"], {
|
|
4853
|
+
}, "Upload Document"), /*#__PURE__*/_react["default"].createElement(_DialogContent["default"], null, documentTypeId == null && /*#__PURE__*/_react["default"].createElement(_DialogContentText["default"], {
|
|
4854
4854
|
id: "alert-dialog-description",
|
|
4855
4855
|
sx: {
|
|
4856
4856
|
paddingBottom: 2
|
|
@@ -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
|
@@ -278,9 +278,11 @@ export function ManageMappingDocuments({hideDocumentManager = false, documentTyp
|
|
|
278
278
|
<DialogTitle id="alert-dialog-title">Upload Document</DialogTitle>
|
|
279
279
|
<DialogContent>
|
|
280
280
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
281
|
+
{documentTypeId == null &&
|
|
282
|
+
<DialogContentText id="alert-dialog-description" sx={{paddingBottom:2}}>
|
|
283
|
+
Please select the type of document, then click "Choose a file"
|
|
284
|
+
</DialogContentText>
|
|
285
|
+
}
|
|
284
286
|
|
|
285
287
|
{documentTypeId == null &&
|
|
286
288
|
<Box sx={{marginTop:2}}>
|
|
@@ -309,7 +311,7 @@ export function ManageMappingDocuments({hideDocumentManager = false, documentTyp
|
|
|
309
311
|
</Box>
|
|
310
312
|
}
|
|
311
313
|
|
|
312
|
-
{(selectedDocument != null) &&
|
|
314
|
+
{(selectedDocument != null || (selectedDocument == null && documentTypeId != null)) &&
|
|
313
315
|
|
|
314
316
|
<Box sx={{textAlign:"center", width:"100%", display:"flex", alignItems:"center", paddingTop:2}}>
|
|
315
317
|
<FileUploader refOveride={fileUploaderRef} params={{
|