set notif if service your province

This commit is contained in:
Surya Paolo
2023-04-13 13:46:53 +02:00
parent dc502611fa
commit 35db79b479
15 changed files with 83 additions and 75 deletions

View File

@@ -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,
}
}
})