generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -18,6 +18,8 @@ const message = useMessage()
|
||||
const permissions = ref<string[]>([])
|
||||
|
||||
async function getPermissions() {
|
||||
if (!authStore.isAuthenticated) return
|
||||
|
||||
permissions.value = []
|
||||
try {
|
||||
const res = await client.GetPermissions({})
|
||||
|
||||
@@ -15,6 +15,8 @@ const client = getAuthClient()
|
||||
const permissions = ref<string[]>([])
|
||||
|
||||
async function getPermissions() {
|
||||
if (!authStore.isAuthenticated) return
|
||||
|
||||
permissions.value = []
|
||||
try {
|
||||
const res = await client.GetPermissions({})
|
||||
|
||||
Reference in New Issue
Block a user