Skip to content

Bar.vue

Image of the page

Standalone bar redemption page — Beerman only. White background, full-screen, no tabs. Beerman is redirected here from Login.

📄 View source on GitHub

Used Components

Used Stores

Functions

completeSync

Refreshes sign-in and redemption data for the current run date. Called by useSmartSyncManager on a 60-second interval while sync conditions are met.

evaluateSyncConditions

Starts or stops background sync depending on connectivity, pending tasks, and tab visibility. Sync only runs when online, no pending offline tasks exist, and the tab is in the foreground.

handleVisibilityChange

Proxy for evaluateSyncConditions registered as the visibilitychange event listener.

Reactivity

(anonymous) (watch)

No description.

Released under the MIT License.