Implement settings dialog and password changes.

This commit is contained in:
2023-11-20 19:26:51 +00:00
parent 907fdb9baf
commit dfd4a15cc9
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 {