always show Devices section
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
d098c91c30
commit
be3167c870
|
@ -1319,20 +1319,15 @@ const BasicUserInfo = ({room, member, groupId, devices, isRoomEncrypted}) => {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let devicesSection;
|
|
||||||
if (isRoomEncrypted) {
|
|
||||||
devicesSection = <DevicesSection
|
|
||||||
loading={devices === undefined}
|
|
||||||
devices={devices}
|
|
||||||
userId={member.userId} />;
|
|
||||||
}
|
|
||||||
|
|
||||||
const securitySection = (
|
const securitySection = (
|
||||||
<div className="mx_UserInfo_container">
|
<div className="mx_UserInfo_container">
|
||||||
<h3>{ _t("Security") }</h3>
|
<h3>{ _t("Security") }</h3>
|
||||||
<p>{ text }</p>
|
<p>{ text }</p>
|
||||||
{ verifyButton }
|
{ verifyButton }
|
||||||
{ devicesSection }
|
<DevicesSection
|
||||||
|
loading={devices === undefined}
|
||||||
|
devices={devices}
|
||||||
|
userId={member.userId} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue