Fixed missing stats on the analytics screen (#20797)

ref DES-716
This commit is contained in:
Sodbileg Gansukh 2024-08-20 20:58:36 +08:00 committed by GitHub
parent 9b41307a76
commit 6413a30c35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -367,7 +367,7 @@ export default class Analytics extends Component {
@task @task
*fetchPostTask() { *fetchPostTask() {
const result = yield this.store.query('post', {filter: `id:${this.post.id}`, limit: 1}); const result = yield this.store.query('post', {filter: `id:${this.post.id}`, include: 'count.clicks,count.conversions,count.paid_conversions,count.positive_feedback,count.negative_feedback', limit: 1});
this.post = result.toArray()[0]; this.post = result.toArray()[0];
if (this.post.email) { if (this.post.email) {