Skip to content

Commit

Permalink
fix: toggle full width for more than 4 columns (#26607)
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed May 30, 2024
1 parent 80a3bf3 commit 0c01da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/views/kanban/kanban_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ frappe.views.KanbanView = class KanbanView extends frappe.views.ListView {
}

setup_view() {
if (this.board.columns.filter((col) => col.status !== "Archived").length > 5) {
if (this.board.columns.filter((col) => col.status !== "Archived").length > 4) {
this.page.container.addClass("full-width");
}
this.setup_realtime_updates();
Expand Down

0 comments on commit 0c01da4

Please sign in to comment.