- Registrazione: conferma Abilitazione da Telegram
- Richiesta Amicizia
This commit is contained in:
@@ -13,6 +13,7 @@ import { toolsext } from '@store/Modules/toolsext'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import { IUserFields } from 'model'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
@@ -22,6 +23,7 @@ export default defineComponent({
|
||||
setup() {
|
||||
const userStore = useUserStore()
|
||||
const $route = useRoute()
|
||||
const $q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
|
||||
const username = computed(() => $route.params.username ? $route.params.username.toString() : userStore.my.username)
|
||||
@@ -82,12 +84,16 @@ export default defineComponent({
|
||||
tools,
|
||||
costanti,
|
||||
myuser,
|
||||
shared_consts,
|
||||
getImgUser,
|
||||
checkifShow,
|
||||
getLinkUserTelegram,
|
||||
filtroutente,
|
||||
showPic,
|
||||
myusername,
|
||||
userStore,
|
||||
$q,
|
||||
t,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -22,6 +22,14 @@
|
||||
v-if="myuser.profile.nationality">({{ myuser.profile.nationality }})</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<q-btn
|
||||
v-if="!userStore.IsMyFriendByUsername(myuser.username)"
|
||||
icon="fas fa-user-plus"
|
||||
color="primary" :label="$t('friends.ask_friend')"
|
||||
@click="tools.setRequestFriendship($q, t, userStore.my.username, myuser.username, true)"/>
|
||||
</div>
|
||||
|
||||
<div class="col-12 text-h8 q-mt-sm">
|
||||
{{ myuser.profile.biografia }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user