You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Remove the signup iframe link text from the ProfileSettings.js
This commit is contained in:
@@ -23,7 +23,6 @@ import * as sdk from "../../../index";
|
|||||||
import {OwnProfileStore} from "../../../stores/OwnProfileStore";
|
import {OwnProfileStore} from "../../../stores/OwnProfileStore";
|
||||||
import Modal from "../../../Modal";
|
import Modal from "../../../Modal";
|
||||||
import ErrorDialog from "../dialogs/ErrorDialog";
|
import ErrorDialog from "../dialogs/ErrorDialog";
|
||||||
import SdkConfig from "../../../SdkConfig";
|
|
||||||
|
|
||||||
export default class ProfileSettings extends React.Component {
|
export default class ProfileSettings extends React.Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -152,13 +151,6 @@ export default class ProfileSettings extends React.Component {
|
|||||||
</a>
|
</a>
|
||||||
</span>;
|
</span>;
|
||||||
}
|
}
|
||||||
const hostingSignupIFrame = SdkConfig.get().hosting_signup_iframe;
|
|
||||||
let hostingIFrame;
|
|
||||||
if (hostingSignupIFrame) {
|
|
||||||
hostingIFrame = <span className="mx_ProfileSettings_hostingIFrame">
|
|
||||||
Get your own personal Element!
|
|
||||||
</span>;
|
|
||||||
}
|
|
||||||
|
|
||||||
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
|
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
|
||||||
const AvatarSetting = sdk.getComponent('settings.AvatarSetting');
|
const AvatarSetting = sdk.getComponent('settings.AvatarSetting');
|
||||||
@@ -183,7 +175,6 @@ export default class ProfileSettings extends React.Component {
|
|||||||
<p>
|
<p>
|
||||||
{this.state.userId}
|
{this.state.userId}
|
||||||
{hostingSignup}
|
{hostingSignup}
|
||||||
{hostingIFrame}
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<AvatarSetting
|
<AvatarSetting
|
||||||
|
|||||||
Reference in New Issue
Block a user