1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00
elk/composables/dialog.ts
2022-11-23 12:25:48 +08:00

12 lines
273 B
TypeScript

export const isUserSwitcherOpen = ref(false)
export const isSigninDialogOpen = ref(false)
export function openUserSwitcher() {
isUserSwitcherOpen.value = true
}
export function openSigninDialog() {
isSigninDialogOpen.value = true
isUserSwitcherOpen.value = false
}