diff --git a/web/src/OrganizationEditPage.js b/web/src/OrganizationEditPage.js index e7eadbf3..23f06f58 100644 --- a/web/src/OrganizationEditPage.js +++ b/web/src/OrganizationEditPage.js @@ -277,14 +277,20 @@ class OrganizationEditPage extends React.Component { {Setting.getLabel(i18next.t("organization:Has privilege consent"), i18next.t("organization:Has privilege consent - Tooltip"))} : - {this.updateOrganizationField("hasPrivilegeConsent", !this.state.organization.hasPrivilegeConsent);}} - okText={i18next.t("general:OK")} - cancelText={i18next.t("general:Cancel")} - > - - + { + !this.state.organization.hasPrivilegeConsent ? ( + {this.updateOrganizationField("hasPrivilegeConsent", !this.state.organization.hasPrivilegeConsent);}} + okText={i18next.t("general:OK")} + cancelText={i18next.t("general:Cancel")} + styles={{root: {width: "800px"}}} + > + + + ) : + {this.updateOrganizationField("hasPrivilegeConsent", !this.state.organization.hasPrivilegeConsent);}} /> + } ) : null