authscape 1.0.502 → 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.502",
3
+ "version": "1.0.504",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
- <DialogContentText id="alert-dialog-description" sx={{paddingBottom:2}}>
282
- Please select the type of document, then click "Choose a file"
283
- </DialogContentText>
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}}>