authscape 1.0.500 → 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
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.500",
3
+ "version": "1.0.502",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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={{