Show devices without encryption support separately from unverified session (#499)

* Show devices without encryption support separately

* Fix typo

* Don't show sessions without encryption support in red
This commit is contained in:
ginnyTheCat
2022-04-24 18:29:50 +02:00
committed by GitHub
parent a932fcfdbe
commit 73aebbbb95
3 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ function ProfileAvatarMenu() {
function CrossSigninAlert() {
const deviceList = useDeviceList();
const unverified = deviceList?.filter((device) => !isCrossVerified(device.device_id));
const unverified = deviceList?.filter((device) => isCrossVerified(device.device_id) === false);
if (!unverified?.length) return null;