Compare commits

...
Author SHA1 Message Date
Joffrey JAFFEUX 91a97d75da FIX: prevents double escaping of filters
We were passing: `{"category": 4}` which was then escape by Ember, basically causing a double Json stringify and preventing code to work down the road.
2025-03-10 21:05:38 +01:00
@@ -219,6 +219,7 @@ export default class AdminReportSentimentAnalysis extends Component {
this.router.transitionTo(this.router.currentRoute.name, {
queryParams: {
...currentQueryParams,
filters: JSON.parse(currentQueryParams.filters), // avoids a double escaping
selectedChart: data.title,
},
});