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.
@@ -6273,6 +6273,7 @@ class FabrikantenFileViewModel {
6273
6273
  if (_data) {
6274
6274
  this.file = _data["file"];
6275
6275
  this.customRFAZip = _data["customRFAZip"];
6276
+ this.rvtExtension = _data["rvtExtension"];
6276
6277
  }
6277
6278
  }
6278
6279
  static fromJS(data) {
@@ -6285,6 +6286,7 @@ class FabrikantenFileViewModel {
6285
6286
  data = typeof data === 'object' ? data : {};
6286
6287
  data["file"] = this.file;
6287
6288
  data["customRFAZip"] = this.customRFAZip;
6289
+ data["rvtExtension"] = this.rvtExtension;
6288
6290
  return data;
6289
6291
  }
6290
6292
  }
@@ -11006,7 +11008,12 @@ class FabrikantenService {
11006
11008
  this.StartDownload(model.file + "", ".zip");
11007
11009
  }
11008
11010
  else {
11009
- this.StartDownload(model.file + "", ".rfa");
11011
+ if (model.rvtExtension) {
11012
+ this.StartDownload(model.file + "", ".rvt");
11013
+ }
11014
+ else {
11015
+ this.StartDownload(model.file + "", ".rfa");
11016
+ }
11010
11017
  }
11011
11018
  this.DownloadRFALoading = false;
11012
11019
  }, (error) => {