Files
wekan/client/features/boards.js
T
Lauri Ojansivu 616304e2d0 Fix Statistics board view: import statsView so the template is registered
statsView.jade / statsView.js / statsView.css existed but were never imported
anywhere in the client build, so the `statsView` Blaze template was never
registered. The board body's `+statsView` include (selected when the user's
boardView is 'board-view-stats') therefore rendered nothing — the board header
showed "Statistics" (that only reflects the persisted boardView) while the
board canvas stayed empty. The Statistics view had never actually rendered.

Import the three files in client/features/boards.js alongside the other board
views (tableView), so the template, its helpers and its styles are in the bundle.

Thanks to xet7 !
2026-07-20 22:55:40 +03:00

30 lines
1.4 KiB
JavaScript

import '/client/components/boards/boardArchive.jade';
import '/client/components/boards/boardBody.jade';
import '/client/components/boards/dependencyOverlay.jade';
import '/client/components/boards/boardHeader.jade';
import '/client/components/boards/boardsList.jade';
import '/client/components/boards/miniboard.jade';
import '/client/components/boards/originalPositionsView.jade';
import '/client/components/boards/tableView.jade';
import '/client/components/boards/statsView.jade';
import '/client/components/boards/boardArchive.js';
import '/client/components/boards/boardBody.js';
import '/client/components/boards/dependencyOverlay.js';
import '/client/components/boards/boardHeader.js';
import '/client/components/boards/boardsList.js';
import '/client/components/boards/originalPositionsView.js';
import '/client/components/boards/tableView.js';
import '/client/components/boards/statsView.js';
import '/client/components/boards/boardBody.css';
import '/client/components/boards/dependencyOverlay.css';
import '/client/components/boards/boardColors.css';
import '/client/components/boards/boardHeader.css';
import '/client/components/boards/boardsList.css';
import '/client/components/boards/calendarView.css';
import '/client/components/boards/originalPositionsView.css';
import '/client/components/boards/tableView.css';
import '/client/components/boards/statsView.css';