Implement settings dialog and password changes.

This commit is contained in:
LeoVasanko committed 2023-11-20 19:26:51 +00:00
1 parent 907fdb9baf
commit dfd4a15cc9
11 files changed
+228 -36

No files matched your search

+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 {