Add Fava settings UI and fix race conditions in toolbar buttons
- Add Fava URL, ledger slug, and timeout settings to super admin Settings dialog - Reinitialize Fava client when settings are updated via services.py - Add settingsLoaded flag to prevent race conditions where wrong toolbar buttons appeared before isSuperUser was determined - Remove premature Vue mount() call from permissions.js that caused "Cannot read properties of undefined (reading 'user')" error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5eb007b936
commit
cb9bc2d658
4 changed files with 83 additions and 10 deletions
|
|
@ -1118,5 +1118,3 @@ window.app = Vue.createApp({
|
|||
}
|
||||
}
|
||||
})
|
||||
|
||||
window.app.mount('#vue')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue