3
0
Fork 0

[FIX] web_timeline: Don't crash when restoring timeline from breadcrumb

13.0
Holger Brunn 2022-07-18 06:44:33 +02:00
parent c3b3c8b72f
commit 92eedca5d9
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ odoo.define("web_timeline.TimelineController", function(require) {
adjust_window: true,
});
const domains = params.domain;
const contexts = params.context;
const group_bys = params.groupBy;
const contexts = params.context || [];
const group_bys = params.groupBy || [];
this.last_domains = domains;
this.last_contexts = contexts;
// Select the group by