diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/CommunityProfileForm.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/CommunityProfileForm.js
index 9aeef6fe2..d965591b1 100644
--- a/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/CommunityProfileForm.js
+++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/CommunityProfileForm.js
@@ -42,6 +42,7 @@ import { CustomFieldSerializer } from "./CustomFieldSerializer";
import PropTypes from "prop-types";
import { default as DangerZone } from "./DangerZone";
import { default as LogoUploader } from "./LogoUploader";
+import Overridable from 'react-overridable';
const COMMUNITY_VALIDATION_SCHEMA = Yup.object({
metadata: Yup.object({
@@ -377,178 +378,191 @@ class CommunityProfileForm extends Component {
/>
}
/>
-
- }
- fluid
- />
-
- }
- options={types.map((ct) => {
- return {
- value: ct.id,
- text: ct?.title_l10n ?? ct.id,
- };
- })}
- />
-
- }
- fluid
- />
-
- _map(organizations, (organization) => {
- // eslint-disable-next-line no-prototype-builtins
- const isKnownOrg = this.knownOrganizations.hasOwnProperty(
- organization.name
- );
- if (!isKnownOrg) {
- this.knownOrganizations = {
- ...this.knownOrganizations,
- [organization.name]: organization.id,
- };
- }
+
+
+
+
+
+
+
-
-
-
+
+
{!_isEmpty(customFields.ui) && (
-
-
-
-
-
-
+
+
)}
diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/index.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/index.js
index 04820474e..1f28a3793 100644
--- a/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/index.js
+++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/index.js
@@ -10,6 +10,7 @@
import React from "react";
import ReactDOM from "react-dom";
import { default as CommunityProfileForm } from "./CommunityProfileForm";
+import { OverridableContext, overrideStore } from "react-overridable";
const domContainer = document.getElementById("app");
const community = JSON.parse(domContainer.dataset.community);
@@ -18,16 +19,19 @@ const types = JSON.parse(domContainer.dataset.types);
const logoMaxSize = JSON.parse(domContainer.dataset.logoMaxSize);
const customFields = JSON.parse(domContainer.dataset.customFields);
const permissions = JSON.parse(domContainer.dataset.permissions);
+const overriddenComponents = overrideStore.getAll();
ReactDOM.render(
- ,
+
+
+ ,
domContainer
);