Friends Notification

Starting Group Create Notification...
This commit is contained in:
Paolo Arena
2022-07-28 21:46:58 +02:00
parent 7f23fe6d05
commit 68106e69fc
12 changed files with 45 additions and 22 deletions

View File

@@ -850,12 +850,12 @@ export default defineComponent({
// refresh()
})
function isTutor() {
return userStore.isTutor
function isFacilitatore() {
return userStore.isFacilitatore
}
function disabilita() {
if ((mytable.value === 'users') && (isTutor())) {
if ((mytable.value === 'users') && (isFacilitatore() && !userStore.isAdmin && !userStore.isManager)) {
return true
}

View File

@@ -108,8 +108,8 @@ export default defineComponent({
return isSocio.value ? 'green-7' : 'white'
}
function isTutor() {
return userStore.isTutor
function isFacilitatore() {
return userStore.isFacilitatore
}
function isZoomeri() {
@@ -443,7 +443,7 @@ export default defineComponent({
getClassColorHeader,
getcart,
getnumItemsCart,
isTutor,
isFacilitatore,
isZoomeri,
isTratuttrici,
getUsernameChatByMsg,

View File

@@ -199,7 +199,7 @@
<div v-if="isSocioResidente()" class="text-weight-bold text-user q-px-xs bg-amber">Residente</div>
<div v-if="isConsiglio()" class="text-weight-bold text-user q-px-xs bg-deep-orange-10">Consiglio</div>
<div v-if="isManager()" class="text-weight-bold text-user bg-blue q-px-xs">Segreteria</div>
<div v-if="isTutor()" class="text-weight-bold text-user q-px-xs">Facilitatore</div>
<div v-if="isFacilitatore()" class="text-weight-bold text-user q-px-xs">Facilitatore</div>
<div v-if="isTratuttrici()" class="text-weight-bold text-user q-px-xs">Editor</div>
</div>
<div v-if="!tools.isLogged()" class="text-user text-italic bg-red">