fabrikantencore 2.2.11 → 2.2.12

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.
@@ -6293,6 +6293,7 @@ class FabrikantenFileViewModel {
6293
6293
  if (_data) {
6294
6294
  this.file = _data["file"];
6295
6295
  this.customRFAZip = _data["customRFAZip"];
6296
+ this.rvtExtension = _data["rvtExtension"];
6296
6297
  }
6297
6298
  }
6298
6299
  static fromJS(data) {
@@ -6305,6 +6306,7 @@ class FabrikantenFileViewModel {
6305
6306
  data = typeof data === 'object' ? data : {};
6306
6307
  data["file"] = this.file;
6307
6308
  data["customRFAZip"] = this.customRFAZip;
6309
+ data["rvtExtension"] = this.rvtExtension;
6308
6310
  return data;
6309
6311
  }
6310
6312
  }
@@ -11040,7 +11042,12 @@ class FabrikantenService {
11040
11042
  this.StartDownload(model.file + "", ".zip");
11041
11043
  }
11042
11044
  else {
11043
- this.StartDownload(model.file + "", ".rfa");
11045
+ if (model.rvtExtension) {
11046
+ this.StartDownload(model.file + "", ".rvt");
11047
+ }
11048
+ else {
11049
+ this.StartDownload(model.file + "", ".rfa");
11050
+ }
11044
11051
  }
11045
11052
  this.DownloadRFALoading = false;
11046
11053
  }, (error) => {