- Aggiungere bottone Condividi il mio profilo: "riso.app/my/miouser"

This commit is contained in:
Surya Paolo
2024-02-28 19:46:20 +01:00
parent f06e940bf9
commit 2afd1eba29
3 changed files with 62 additions and 42 deletions

View File

@@ -176,8 +176,16 @@ export default defineComponent({
$router.push(link)
}
function getlinkpage() {
if (userStore.userprofile)
return self.location.host + '/my/' + userStore.userprofile.username
else
return ''
}
return {
username,
getlinkpage,
profile,
tools,
toolsext,