Fix other devices not being decorated as such (#28279)
* Fix other devices not being decorated as such Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
83777a6c57
commit
5cad0c234f
3 changed files with 9 additions and 5 deletions
|
@ -111,7 +111,11 @@ const DeviceDetails: React.FC<Props> = ({
|
||||||
<div className={classNames("mx_DeviceDetails", className)} data-testid={`device-detail-${device.device_id}`}>
|
<div className={classNames("mx_DeviceDetails", className)} data-testid={`device-detail-${device.device_id}`}>
|
||||||
<section className="mx_DeviceDetails_section">
|
<section className="mx_DeviceDetails_section">
|
||||||
<DeviceDetailHeading device={device} saveDeviceName={saveDeviceName} />
|
<DeviceDetailHeading device={device} saveDeviceName={saveDeviceName} />
|
||||||
<DeviceVerificationStatusCard device={device} onVerifyDevice={onVerifyDevice} isCurrentDevice />
|
<DeviceVerificationStatusCard
|
||||||
|
device={device}
|
||||||
|
onVerifyDevice={onVerifyDevice}
|
||||||
|
isCurrentDevice={isCurrentDevice}
|
||||||
|
/>
|
||||||
</section>
|
</section>
|
||||||
<section className="mx_DeviceDetails_section">
|
<section className="mx_DeviceDetails_section">
|
||||||
<p className="mx_DeviceDetails_sectionHeading">{_t("settings|sessions|details_heading")}</p>
|
<p className="mx_DeviceDetails_sectionHeading">{_t("settings|sessions|details_heading")}</p>
|
||||||
|
|
|
@ -49,7 +49,7 @@ HTMLCollection [
|
||||||
<p
|
<p
|
||||||
class="mx_DeviceSecurityCard_description"
|
class="mx_DeviceSecurityCard_description"
|
||||||
>
|
>
|
||||||
Verify your current session for enhanced secure messaging.
|
Verify or sign out from this session for best security and reliability.
|
||||||
<div
|
<div
|
||||||
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
||||||
role="button"
|
role="button"
|
||||||
|
|
|
@ -49,7 +49,7 @@ exports[`<DeviceDetails /> renders a verified device 1`] = `
|
||||||
<p
|
<p
|
||||||
class="mx_DeviceSecurityCard_description"
|
class="mx_DeviceSecurityCard_description"
|
||||||
>
|
>
|
||||||
Your current session is ready for secure messaging.
|
This session is ready for secure messaging.
|
||||||
<div
|
<div
|
||||||
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
||||||
role="button"
|
role="button"
|
||||||
|
@ -158,7 +158,7 @@ exports[`<DeviceDetails /> renders device with metadata 1`] = `
|
||||||
<p
|
<p
|
||||||
class="mx_DeviceSecurityCard_description"
|
class="mx_DeviceSecurityCard_description"
|
||||||
>
|
>
|
||||||
Verify your current session for enhanced secure messaging.
|
Verify or sign out from this session for best security and reliability.
|
||||||
<div
|
<div
|
||||||
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
||||||
role="button"
|
role="button"
|
||||||
|
@ -367,7 +367,7 @@ exports[`<DeviceDetails /> renders device without metadata 1`] = `
|
||||||
<p
|
<p
|
||||||
class="mx_DeviceSecurityCard_description"
|
class="mx_DeviceSecurityCard_description"
|
||||||
>
|
>
|
||||||
Verify your current session for enhanced secure messaging.
|
Verify or sign out from this session for best security and reliability.
|
||||||
<div
|
<div
|
||||||
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
||||||
role="button"
|
role="button"
|
||||||
|
|
Loading…
Reference in a new issue