mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
2fa592eccb
commit
9214bf357f
@@ -81,9 +81,13 @@ export class TimeSyncService {
|
|||||||
|
|
||||||
this.clockOffsetMs = adjustedServerTimeInMs - Date.now();
|
this.clockOffsetMs = adjustedServerTimeInMs - Date.now();
|
||||||
}),
|
}),
|
||||||
catchError(() => of(void 0))
|
catchError(() => {
|
||||||
|
this.clockOffsetMs = 0;
|
||||||
|
return of(void 0);
|
||||||
|
})
|
||||||
);
|
);
|
||||||
} catch {
|
} catch {
|
||||||
|
this.clockOffsetMs = 0;
|
||||||
return of(void 0);
|
return of(void 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user