This commit is contained in:
parent
62b82788b8
commit
2a8bc6ade8
|
|
@ -130,6 +130,7 @@ function HistoryChatContent() {
|
||||||
} else if (isAuthenticated && isCloudSyncEnabled()) {
|
} else if (isAuthenticated && isCloudSyncEnabled()) {
|
||||||
// Fallback to cloud
|
// Fallback to cloud
|
||||||
const cloudReports = await getCloudReports();
|
const cloudReports = await getCloudReports();
|
||||||
|
if (cloudReports) {
|
||||||
const cloudMatch = cloudReports.find(
|
const cloudMatch = cloudReports.find(
|
||||||
(r) =>
|
(r) =>
|
||||||
r.ticker === ticker &&
|
r.ticker === ticker &&
|
||||||
|
|
@ -148,6 +149,7 @@ function HistoryChatContent() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Failed to load report for chat:", err);
|
console.error("Failed to load report for chat:", err);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue