|
|
@@ -234,7 +234,7 @@ frappe.views.ListView = frappe.ui.BaseList.extend({ |
|
|
|
var us = frappe.get_user_settings(this.doctype); |
|
|
|
var route = ['List', this.doctype]; |
|
|
|
|
|
|
|
if (us.last_view) { |
|
|
|
if (us.last_view && frappe.views.view_modes.includes(us.last_view)) { |
|
|
|
route.push(us.last_view); |
|
|
|
|
|
|
|
if (us.last_view === 'Kanban') { |
|
|
|