Kanban View Columns Not Visible When No Records Are Present in Frappe

Hello fellow developers,

I’m facing an issue with the Kanban view in Frappe. In the WorkItem module, the kanban view works perfectly fine and shows the records and columns when there are records present .

However, when there are no records, the kanban view displays an empty screen without any columns.

I want the columns to be displayed in the Kanban view even when there are no records. Alternatively, if no records are found, I would like an error message to be shown indicating that there are no records present.

Has anyone faced a similar issue? Any suggestions on how to resolve this?