++ DebugOn status (to see what happened)

fix visu activities
This commit is contained in:
Surya Paolo
2022-12-14 22:07:23 +01:00
parent bd0eab53ae
commit fbcd076705
22 changed files with 69 additions and 33 deletions

View File

@@ -45,8 +45,8 @@
>
<div v-if="site.confpages.showNameSurname">
<div class="text-h6">
<span v-if="checkifShow('name')"> {{ myuser.name }}</span>
<span v-if="checkifShow('surname')">{{
<span v-if="checkifShow('name') && myuser.name"> {{ myuser.name }}</span>
<span v-if="checkifShow('surname') && myuser.surname">{{
myuser.surname
}}</span>
</div>

View File

@@ -53,6 +53,7 @@ export default defineComponent({
const username = computed(() => $route.params.username ? $route.params.username.toString() : userStore.my.username)
const idnotif = computed(() => $route.query.idnotif ? $route.query.idnotif.toString() : '')
const isDebugOn = computed(() => tools.isDebugOn())
const filtroutente = ref(<any[]>[])
const showPic = ref(false)
@@ -108,8 +109,8 @@ export default defineComponent({
}
})
caricato.value = true
}
caricato.value = true
}catch (e) {
console.error('ERR loadProfile', e)
}
@@ -199,6 +200,7 @@ export default defineComponent({
showsendCoinTo,
site,
listcircuitsfiltered,
isDebugOn,
}
}
})

View File

@@ -1,4 +1,10 @@
<template>
<div v-if="isDebugOn" class="bg-red text-white">
Logged: {{tools.isLogged()}}
UserOk: {{tools.isUserOk()}}
caricato: {{caricato}}
myuser: {{myuser.username}}
</div>
<div v-if="!tools.isLogged()">
<CCheckIfIsLogged></CCheckIfIsLogged>
</div>
@@ -30,6 +36,7 @@
<div v-if="myuser">
<CNotifAtTop />
<div class="q-gutter-sm q-pa-sm q-pb-md">
<div
v-if="myuser && myuser.date_reg"
class="fit column no-wrap justify-evenly items-center content-start"
@@ -54,7 +61,7 @@
</div>
<div class="last_access">
Ultimo accesso: {{tools.timeAgo(myuser.lasttimeonline)}}
OnLine: {{tools.timeAgo(myuser.lasttimeonline)}}
</div>
<div v-if="myuser.reported">
@@ -68,8 +75,8 @@
<div v-if="site.confpages.showNameSurname">
<div class="text-h6">
<span v-if="checkifShow('name')"> {{ myuser.name }}</span>
<span v-if="checkifShow('surname')">{{ myuser.surname }}</span>
<span v-if="checkifShow('name') && myuser.name"> {{ myuser.name }}</span>
<span v-if="checkifShow('surname') && myuser.surname">{{ myuser.surname }}</span>
</div>
</div>
<div class="col-12 text-h7 text-blue text-shadow-2">