bettersight-statement-extra.../frontend
JasonFraser 0205351d11 Fix isAuthenticated to also check pb.authStore token validity
!!state.user alone only reflects whether a user record was ever
persisted (login), not whether that session's token is still valid -
pb.authStore keeps the record around across a token's own expiry with
nothing clearing it automatically. Root cause of a reported "my
documents disappeared and uploads fail with 'The requested resource
wasn't found'" symptom: the full authenticated shell kept rendering
while every PocketBase call silently ran as unauthenticated. Now checks
pb.authStore.isValid (decodes the token's own exp claim) too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-24 08:16:23 -04:00
..
.vscode Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
public Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
src Fix isAuthenticated to also check pb.authStore token validity 2026-11-24 08:16:23 -04:00
.gitignore Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
README.md Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
index.html Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
package-lock.json Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox 2026-11-24 08:16:17 -04:00
package.json Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox 2026-11-24 08:16:17 -04:00
vite.config.js Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00

README.md

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.