fix Richieste e Rifiutati (Circuiti)

This commit is contained in:
Surya Paolo
2022-12-15 18:09:50 +01:00
parent fbcd076705
commit 1291ad319f
9 changed files with 19 additions and 22 deletions

View File

@@ -153,13 +153,13 @@ export default defineComponent({
function getLinkWebSite() {
if (myuser.value) {
let site = myuser.value.profile.website!
if (site) {
if (!site.startsWith('http')) {
site = 'https://' + site
let mysite = myuser.value.profile.website!
if (mysite) {
if (!mysite.startsWith('http')) {
mysite = 'https://' + mysite
}
}
return site
return mysite
} else {
return ''
}

View File

@@ -1,9 +1,9 @@
<template>
<div v-if="isDebugOn" class="bg-red text-white">
Logged: {{tools.isLogged()}}
UserOk: {{tools.isUserOk()}}
caricato: {{caricato}}
myuser: {{myuser.username}}
<div v-if="!!tools.isLogged()">Logged: {{tools.isLogged()}}</div>
<div v-if="!!tools.isUserOk()">UserOk: {{tools.isUserOk()}}</div>
<div v-if="caricato">caricato: {{caricato}}</div>
<div v-if="myuser">myuser: {{myuser.username}}</div>
</div>
<div v-if="!tools.isLogged()">
<CCheckIfIsLogged></CCheckIfIsLogged>
@@ -73,7 +73,7 @@
</CTitleBanner>
</div>
<div v-if="site.confpages.showNameSurname">
<div v-if="site && site.confpages && site.confpages.showNameSurname">
<div class="text-h6">
<span v-if="checkifShow('name') && myuser.name"> {{ myuser.name }}</span>
<span v-if="checkifShow('surname') && myuser.surname">{{ myuser.surname }}</span>