Merge pull request #38190 from AarDG10/fix-kanban
fix(kanban_view): fix routing when switching kanban board
This commit is contained in:
commit
f924fed900
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ frappe.views.KanbanView = class KanbanView extends frappe.views.ListView {
|
|||
|
||||
show() {
|
||||
frappe.views.KanbanView.get_kanbans(this.doctype).then((kanbans) => {
|
||||
frappe.route_options = {};
|
||||
if (!kanbans.length) {
|
||||
return frappe.views.KanbanView.show_kanban_dialog(this.doctype, true);
|
||||
} else if (kanbans.length && frappe.get_route().length !== 4) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue