Skip to content

EspoCRM – Open Source CRM Application

ux fix

Yuriib48b033be8c0
diff --git a/client/src/views/settings/fields/oidc-redirect-uri.js b/client/src/views/settings/fields/oidc-redirect-uri.js
index 6f327b4d8d..a657f997c5 100644
--- a/client/src/views/settings/fields/oidc-redirect-uri.js
+++ b/client/src/views/settings/fields/oidc-redirect-uri.js
@@ -45,11 +45,15 @@ export default class extends VarcharFieldView {
{{/if}}
`
+ /**
+ * @private
+ * @type {import('collection').default|null}
+ */
portalCollection = null
data() {
const isNotEmpty = this.model.entityType !== 'AuthenticationProvider' ||
- this.portalCollection;
+ (this.portalCollection && this.portalCollection.length);
return {
value: this.getValueForDisplay(),