Riso: Ris Italia, altre modifiche grafiche
Lista Utenti da Verificare
This commit is contained in:
@@ -31,13 +31,23 @@ export default defineComponent({
|
||||
const circuitStore = useCircuitStore()
|
||||
const $router = useRouter()
|
||||
|
||||
const shownotif = ref(false)
|
||||
|
||||
const { getImgByNotif, getNotifText, getTypeDirNotif, getTypeIdNotif } = MixinUsers()
|
||||
|
||||
const lasts_notifs_req = computed(() => notifStore.getnotifs_coinsreq())
|
||||
const num_notifs = computed(() => lasts_notifs_req.value.length)
|
||||
|
||||
watch(() => num_notifs.value, (newval, oldval) => {
|
||||
if (num_notifs.value === 1)
|
||||
shownotif.value = true
|
||||
else if (num_notifs.value === 0)
|
||||
shownotif.value = false
|
||||
})
|
||||
|
||||
function mounted() {
|
||||
//
|
||||
shownotif.value = num_notifs.value === 1
|
||||
}
|
||||
|
||||
function clickNotif(notif: INotif) {
|
||||
@@ -70,6 +80,7 @@ export default defineComponent({
|
||||
num_notifs,
|
||||
clickNotif,
|
||||
userStore,
|
||||
shownotif,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user