Riso: Ris Italia, altre modifiche grafiche

Lista Utenti da Verificare
This commit is contained in:
Surya Paolo
2023-11-30 01:48:29 +01:00
parent fdf232b351
commit ee5235549e
42 changed files with 863 additions and 197 deletions

View File

@@ -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,
}
},
})