mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed analytics page feedback chart filter button links
no issue Clicking the 'see members' button in the feedback chart tooltip went to a page with a hardcoded post id instead of the actual post id.
This commit is contained in:
parent
b74029697f
commit
a5c4091620
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ export default class Analytics extends Component {
|
|||
const values = [this.post.count.positive_feedback, this.post.count.negative_feedback];
|
||||
const labels = ['More like this', 'Less like this'];
|
||||
const links = [
|
||||
{filterParam: '(feedback.post_id:6368b75db2faed03adaee6b7+feedback.score:1)'},
|
||||
{filterParam: '(feedback.post_id:6368b75db2faed03adaee6b7+feedback.score:0)'}
|
||||
{filterParam: '(feedback.post_id:' + this.post.id + '+feedback.score:1)'},
|
||||
{filterParam: '(feedback.post_id:' + this.post.id + '+feedback.score:0)'}
|
||||
];
|
||||
const colors = ['#F080B2', '#8452f633'];
|
||||
return {values, labels, links, colors};
|
||||
|
|
Loading…
Add table
Reference in a new issue