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