From fd78699224cfed389af99b73a07e267704f917de Mon Sep 17 00:00:00 2001 From: Alec Rippberger <127791530+alec-livefront@users.noreply.github.com> Date: Thu, 20 Mar 2025 15:24:01 -0500 Subject: [PATCH] Revert "fix: check device id and creationDate for falsey values" This reverts commit 87847dc8067462418acdb29f9b56bbe5444f5b12. --- .../app/auth/settings/security/device-management.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/auth/settings/security/device-management.component.ts b/apps/web/src/app/auth/settings/security/device-management.component.ts index 631ab02db7d..0f31b8d4639 100644 --- a/apps/web/src/app/auth/settings/security/device-management.component.ts +++ b/apps/web/src/app/auth/settings/security/device-management.component.ts @@ -180,7 +180,7 @@ export class DeviceManagementComponent { private updateDeviceTable(devices: Array): void { this.dataSource.data = devices .map((device: DeviceView): DeviceTableData | null => { - if (!device.id) { + if (device.id == undefined) { this.validationService.showError(new Error(this.i18nService.t("deviceIdMissing"))); return null; } @@ -190,7 +190,7 @@ export class DeviceManagementComponent { return null; } - if (!device.creationDate) { + if (device.creationDate == undefined) { this.validationService.showError( new Error(this.i18nService.t("deviceCreationDateMissing")), );