Skip to content

Commit

Permalink
fix: toggle full width for more than 4 columns
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed May 29, 2024
1 parent 80a3bf3 commit 4513c1e
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 4513c1e

Please sign in to comment.