mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Viewing a public board as a guest (no logged-in user) threw "Cannot read property 'isBoardAdmin' of null" from template helpers that called ReactiveCache.getCurrentUser().isBoardAdmin() (and .isWorker()). The exception aborted the Tracker afterFlush computation mid-render, so longer lists never finished loading for guests. A null/guest user is never a board admin or worker, so use optional chaining (getCurrentUser()?.isBoardAdmin()) which yields a falsy value instead of throwing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>