@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.
package/dist/index.js CHANGED
@@ -4988,7 +4988,7 @@ var UserAddEdit = function UserAddEdit(props) {
4988
4988
  if ((_name === 'passport_photo' || _name === 'travel_docs') && _obj.openFile === true) {
4989
4989
  if (_obj.file.isExistingFile) {
4990
4990
  var link = document.createElement('a');
4991
- link.setAttribute('download', _obj.file.name);
4991
+ link.setAttribute('target', '_blank');
4992
4992
  link.href = _obj.file.presigned_url;
4993
4993
  document.body.appendChild(link);
4994
4994
  link.click();
@@ -5002,7 +5002,7 @@ var UserAddEdit = function UserAddEdit(props) {
5002
5002
  })).then(function (res) {
5003
5003
  dispatch(stopLoader());
5004
5004
  var link = document.createElement('a');
5005
- link.setAttribute('download', _obj.file.returned_file_name);
5005
+ link.setAttribute('target', '_blank');
5006
5006
  link.href = res.data.presigned_url;
5007
5007
  document.body.appendChild(link);
5008
5008
  link.click();