Remove the signup iframe link text from the ProfileSettings.js
parent
bdab1faf16
commit
d089eb720f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue