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:
@@ -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")),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user