set notif if service your province
This commit is contained in:
@@ -154,6 +154,20 @@ export default defineComponent({
|
||||
return username === userStore.my.username
|
||||
}
|
||||
|
||||
function getLinkWebSite() {
|
||||
if (userStore.userprofile) {
|
||||
let mysite = userStore.userprofile.profile.website
|
||||
if (mysite) {
|
||||
if (!mysite.startsWith('http')) {
|
||||
mysite = 'https://' + mysite
|
||||
}
|
||||
}
|
||||
return mysite
|
||||
} else {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
return {
|
||||
@@ -190,6 +204,7 @@ export default defineComponent({
|
||||
usersList,
|
||||
handshake_inCommon,
|
||||
globalStore,
|
||||
getLinkWebSite,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -652,6 +652,19 @@
|
||||
:canEdit="false"
|
||||
>
|
||||
</CDateTime>
|
||||
<CLabel
|
||||
v-if="!!getLinkWebSite()"
|
||||
v-bind="$attrs"
|
||||
:copy="false"
|
||||
label="Sito Web"
|
||||
>
|
||||
<span
|
||||
v-html="
|
||||
tools.getlinkhref(getLinkWebSite(), getLinkWebSite())
|
||||
"
|
||||
/>
|
||||
</CLabel>
|
||||
|
||||
<CLabel
|
||||
v-if="!!userStore.userprofile.profile.cell"
|
||||
v-bind="$attrs"
|
||||
|
||||
Reference in New Issue
Block a user