Implement settings dialog and password changes.

This commit is contained in:
Leo Vasanko
2023-11-20 04:29:42 -08:00
parent 102a970174
commit 7311ffdff1
11 changed files with 228 additions and 36 deletions
+1
View File
@@ -74,6 +74,7 @@ watchEffect(() => {
const settingsMenu = (e: Event) => {
// show the context menu
const items = []
items.push({ label: 'Settings', onClick: () => { store.dialog = 'settings' }})
if (store.user.isLoggedIn) {
items.push({ label: `Logout ${store.user.username ?? ''}`, onClick: () => store.logout() })
} else {