diff --git a/src/app/organisms/settings/DeviceManage.jsx b/src/app/organisms/settings/DeviceManage.jsx index dad5b96..062ec02 100644 --- a/src/app/organisms/settings/DeviceManage.jsx +++ b/src/app/organisms/settings/DeviceManage.jsx @@ -155,6 +155,7 @@ function DeviceManage() { const lastIP = device.last_seen_ip; const lastTS = device.last_seen_ts; const isCurrentDevice = mx.deviceId === deviceId; + const canVerify = isVerified === false && (isMeVerified || isCurrentDevice); return ( : ( <> - {((isMeVerified && isVerified === false) || (isCurrentDevice && isVerified === false)) && } + {(isCSEnabled && canVerify) && } handleRename(device)} src={PencilIC} tooltip="Rename" /> handleRemove(device)} src={BinIC} tooltip="Remove session" />