generated from VLADIMIR/template_frontend
fix
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
.DS_Store
|
||||
# /dist/
|
||||
/dist/
|
||||
dist-ssr
|
||||
coverage
|
||||
*.local
|
||||
|
||||
@@ -18,8 +18,6 @@ const message = useMessage()
|
||||
const permissions = ref<string[]>([])
|
||||
|
||||
async function getPermissions() {
|
||||
if (!authStore.isAuthenticated) return
|
||||
|
||||
permissions.value = []
|
||||
try {
|
||||
const res = await client.GetPermissions({})
|
||||
|
||||
@@ -15,8 +15,6 @@ 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