feat: basic mutli-accounts support
This commit is contained in:
parent
24c573ccf0
commit
241b28241c
15 changed files with 170 additions and 34 deletions
11
composables/dialog.ts
Normal file
11
composables/dialog.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
export const isAccountSwitcherOpen = ref(false)
|
||||
export const isSigninDialogOpen = ref(false)
|
||||
|
||||
export function openAccountSwitcher() {
|
||||
isAccountSwitcherOpen.value = true
|
||||
}
|
||||
|
||||
export function openSigninDialog() {
|
||||
isSigninDialogOpen.value = true
|
||||
isAccountSwitcherOpen.value = false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue