From 90bd88627a6b56d6a3f421030050f309cfbc40a1 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 17 Jun 2021 10:07:51 +0200 Subject: [PATCH] FIX: prevents mode to be forced to unexisting mode (#13413) --- app/assets/javascripts/admin/addon/routes/admin-reports-show.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/assets/javascripts/admin/addon/routes/admin-reports-show.js b/app/assets/javascripts/admin/addon/routes/admin-reports-show.js index f4806399cf9..8aec4baf31c 100644 --- a/app/assets/javascripts/admin/addon/routes/admin-reports-show.js +++ b/app/assets/javascripts/admin/addon/routes/admin-reports-show.js @@ -29,8 +29,6 @@ export default DiscourseRoute.extend({ params.chartGrouping = params.chart_grouping || "daily"; delete params.chart_grouping; - params.mode = params.mode || "table"; - return params; },