We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16942a4 commit 0f1b048Copy full SHA for 0f1b048
src/app/data-client.ts
@@ -714,13 +714,13 @@ export class DataClient {
714
methodName,
715
});
716
717
- if (!resp.payload) {
+ if (!resp.payload || !resp.timeCaptured || !resp.timeSynced) {
718
return null;
719
}
720
721
return [
722
- resp.timeCaptured?.toDate(),
723
- resp.timeSynced?.toDate(),
+ resp.timeCaptured.toDate(),
+ resp.timeSynced.toDate(),
724
resp.payload.toJson() as Record<string, JsonValue>,
725
];
726
0 commit comments