You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Umbraco.Cms.Integrations.Crm.Dynamics/Client/src/config/authorization/authorization-property-editor.element.ts
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,7 @@ export class DynamicsAuthorizationElement extends UmbElementMixin(LitElement){
38
38
}
39
39
40
40
async #checkOAuthConfiguration(){
41
-
//const { data } = await this.#dynamicsContext.checkOauthConfiguration();
42
-
if(!this.#settingsModel){
43
-
return;
44
-
}
41
+
if(!this.#settingsModel)return;
45
42
46
43
if(!this.#settingsModel.isAuthorized){
47
44
this._showError("Unable to connect to Dynamics. Please review the settings of the form picker property's data type.")
Copy file name to clipboardExpand all lines: src/Umbraco.Cms.Integrations.Crm.Dynamics/Client/src/property-editor/dynamics-form-picker-property-editor.element.ts
+22-25Lines changed: 22 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -57,10 +57,6 @@ export class DynamicsFormPickerPropertyEditor extends UmbLitElement implements U
57
57
58
58
if(this.value==null||this.value.length==0)return;
59
59
60
-
awaitthis.#checkOAuthConfiguration();
61
-
}
62
-
63
-
async #checkOAuthConfiguration(){
64
60
if(!this.#settingsModel)return;
65
61
if(!this.#settingsModel.isAuthorized)this._showError("Unable to connect to Dynamics. Please review the settings of the form picker property's data type.");
66
62
@@ -72,12 +68,12 @@ export class DynamicsFormPickerPropertyEditor extends UmbLitElement implements U
0 commit comments