@itilite/iui-user-management 0.0.19 → 0.0.21

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.
@@ -4985,7 +4985,7 @@ var UserAddEdit = function UserAddEdit(props) {
4985
4985
  if ((_name === 'passport_photo' || _name === 'travel_docs') && _obj.openFile === true) {
4986
4986
  if (_obj.file.isExistingFile) {
4987
4987
  var link = document.createElement('a');
4988
- link.setAttribute('download', _obj.file.name);
4988
+ link.setAttribute('target', '_blank');
4989
4989
  link.href = _obj.file.presigned_url;
4990
4990
  document.body.appendChild(link);
4991
4991
  link.click();
@@ -4999,7 +4999,7 @@ var UserAddEdit = function UserAddEdit(props) {
4999
4999
  })).then(function (res) {
5000
5000
  dispatch(stopLoader());
5001
5001
  var link = document.createElement('a');
5002
- link.setAttribute('download', _obj.file.returned_file_name);
5002
+ link.setAttribute('target', '_blank');
5003
5003
  link.href = res.data.presigned_url;
5004
5004
  document.body.appendChild(link);
5005
5005
  link.click();