fabrikantencore 2.40.4 → 2.40.5

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.
@@ -19475,6 +19475,7 @@ class SVGService {
19475
19475
  constructor(FabrikantenApiClient, sanitization) {
19476
19476
  this.FabrikantenApiClient = FabrikantenApiClient;
19477
19477
  this.sanitization = sanitization;
19478
+ this.SafeURL = this.sanitization.bypassSecurityTrustResourceUrl("");
19478
19479
  }
19479
19480
  ClearCache() {
19480
19481
  this.FabrikantenSVGViewModel = null;
@@ -21013,12 +21014,14 @@ class FabrikantenService {
21013
21014
  if (!this.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels[0].has3D) {
21014
21015
  this.SelectedTab = "2D";
21015
21016
  this.SelectedTabIndex = 0;
21017
+ console.log("forced SelectedTab to '2D' and SelectedTabIndex to 0: this.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels[0].has3D: " + this.FabrikantenViewModel.selectedProduct.fabrikantenBCBProductViewModels[0].has3D);
21016
21018
  }
21017
21019
  }
21018
21020
  }
21019
21021
  if (this.SelectedTab == "2D" && !this.Show2D()) {
21020
21022
  this.SelectedTab = "Bestek";
21021
21023
  this.SelectedTabIndex = 0;
21024
+ console.log("forced SelectedTab to 'Bestek' and SelectedTabIndex to 0: this.Show2D(): " + this.Show2D());
21022
21025
  }
21023
21026
  if (array != null && (array.length == 1 || this.FabrikantenSettingsViewModel.alwaysShowVariant)) {
21024
21027
  if (this.SelectedTab == "Bestek" || this.ForceUpdateBestek) {