Il creatore del Gruppo deve già appartenere al Gruppo stesso

Non permettere di aggiungere un Gruppo con lo stesso nome o codice
quando cancelli un Gruppo, cancella anche tutti i riferimenti sugli utenti di quel gruppo.
Errore caricamento Immagini !
This commit is contained in:
paoloar77
2022-02-28 17:20:31 +01:00
parent a31d10ceb8
commit 65bde785da
40 changed files with 230 additions and 366 deletions

View File

@@ -111,14 +111,9 @@ export default function () {
return userStore.my.profile.cell
}
function Verificato() {
const userStore = useUserStore()
return isVerified() && userStore.my.verified_by_aportador
}
function notAsk_ToVerify() {
const userStore = useUserStore()
return isVerified() && userStore.my.notask_verif
return tools.isVerified() && userStore.my.notask_verif
}
function paotest() {
@@ -160,20 +155,6 @@ export default function () {
return ris
}
function isEmailVerified() {
const userStore = useUserStore()
return userStore.my.verified_email
}
function TelegVerificato(): boolean {
const userStore = useUserStore()
return userStore.my.profile ? userStore.my.profile.teleg_id! > 0 : false
}
function isVerified() {
return TelegVerificato()
}
return {
getUsernameChatByMsg,
getMyUsername,
@@ -181,7 +162,6 @@ export default function () {
myName,
mySurname,
myCell,
Verificato,
notAsk_ToVerify,
MadeGift,
Email,
@@ -195,9 +175,6 @@ export default function () {
getNumMsg,
getNumMsgUnread,
getMsgText,
isEmailVerified,
TelegVerificato,
isVerified,
paotest,
getRefLink,
}