1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Revert "fix: check device id and creationDate for falsey values"

This reverts commit 87847dc806.
This commit is contained in:
Alec Rippberger
2025-03-20 15:24:01 -05:00
committed by GitHub
parent 87847dc806
commit fd78699224

View File

@@ -180,7 +180,7 @@ export class DeviceManagementComponent {
private updateDeviceTable(devices: Array<DeviceView>): 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")),
);