gd-sprest-bs 10.6.4 → 10.6.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.
@@ -44,7 +44,7 @@ var _SPFxWebPart = /** @class */ (function () {
44
44
  // Set the page context
45
45
  gd_sprest_1.ContextInfo.setPageContext(this._props.spfx.context.pageContext);
46
46
  // Set the configuration
47
- this.Configuration = this._props.wpCfg;
47
+ this.Configuration = this._props.spfx.properties.configuration;
48
48
  // See if this is the workbench
49
49
  if (window.location.pathname.indexOf("workbench.aspx") > 0) {
50
50
  // Set both flags to render edit/display
@@ -133,7 +133,7 @@ var _SPFxWebPart = /** @class */ (function () {
133
133
  }
134
134
  }
135
135
  // Call the render event
136
- this._props.render ? this._props.render(elWP) : null;
136
+ this._props.render ? this._props.render(elWP, this.Configuration) : null;
137
137
  };
138
138
  // Method to render the edit interface
139
139
  _SPFxWebPart.prototype.renderEdit = function () {