Conto Comunitario...
This commit is contained in:
@@ -95,22 +95,24 @@ export default defineComponent({
|
||||
const mybutt = []
|
||||
mybutt.push({ label: t('mypages.find_people'), value: costanti.FIND_PEOPLE })
|
||||
|
||||
if (numFriends.value > 0 || props.modelValue === costanti.FRIENDS)
|
||||
mybutt.push({ label: t('mypages.friends') + ' (' + numFriends.value + ')', value: costanti.FRIENDS })
|
||||
if (costanti.ENABLE_FRIENDS) {
|
||||
if (numFriends.value > 0 || props.modelValue === costanti.FRIENDS)
|
||||
mybutt.push({ label: t('mypages.friends') + ' (' + numFriends.value + ')', value: costanti.FRIENDS })
|
||||
if (numReqFriends.value > 0 || props.modelValue === costanti.REQ_FRIENDS)
|
||||
mybutt.push({
|
||||
label: t('mypages.request_friends') + ' (' + numReqFriends.value + ')',
|
||||
value: costanti.REQ_FRIENDS
|
||||
})
|
||||
if (numAskSentFriends.value > 0 || props.modelValue === costanti.ASK_SENT_FRIENDS)
|
||||
mybutt.push({
|
||||
label: t('mypages.request_sent') + ' (' + numAskSentFriends.value + ')',
|
||||
value: costanti.ASK_SENT_FRIENDS
|
||||
})
|
||||
}
|
||||
|
||||
if (numReqFriends.value > 0 || props.modelValue === costanti.REQ_FRIENDS)
|
||||
mybutt.push({
|
||||
label: t('mypages.request_friends') + ' (' + numReqFriends.value + ')',
|
||||
value: costanti.REQ_FRIENDS
|
||||
})
|
||||
if (numHandShake.value > 0 || props.modelValue === costanti.HANDSHAKE)
|
||||
mybutt.push({ label: t('mypages.handshake') + ' (' + numHandShake.value + ')', value: costanti.HANDSHAKE })
|
||||
|
||||
if (numAskSentFriends.value > 0 || props.modelValue === costanti.ASK_SENT_FRIENDS)
|
||||
mybutt.push({
|
||||
label: t('mypages.request_sent') + ' (' + numAskSentFriends.value + ')',
|
||||
value: costanti.ASK_SENT_FRIENDS
|
||||
})
|
||||
if (numAskTrust.value > 0 || props.modelValue === costanti.ASK_TRUST)
|
||||
mybutt.push({ label: t('mypages.request_trust') + ' (' + numAskTrust.value + ')', value: costanti.ASK_TRUST })
|
||||
if (numTrusted.value > 0 || props.modelValue === costanti.TRUSTED)
|
||||
|
||||
Reference in New Issue
Block a user