- fix notifiche

This commit is contained in:
Surya Paolo
2024-05-10 00:58:46 +02:00
parent faf0fabfb0
commit 99ce77eec1
5 changed files with 20 additions and 17 deletions

View File

@@ -144,7 +144,6 @@ export default defineComponent({
return notifStore.updateNotifDataFromServer({
username,
lastdataread: getlastdataread(username),
qualinotif: shared_consts.QualiNotifs.CIRCUITS
}).then((ris) => {
notifStore.updateNotification = false

View File

@@ -77,17 +77,16 @@
<div class="clBorderSperator"></div>
<div class="q-ma-xs">
<div class="q-ma-xs text-black">
<q-list bordered class="rounded-borders">
<div v-if="num_notifs_unread === 0">
<q-item>
<q-item-label lines="1">{{ $t('notifs.nocoins') }}</q-item-label>
<q-item-label lines="1" class="text-gray">{{ $t('notifs.nocoins') }}</q-item-label>
</q-item>
</div>
<q-item clickable v-for="(notif, index) in getlasts_coins" :key="index">
<!--<q-item-section avatar>

View File

@@ -180,7 +180,6 @@ export default defineComponent({
return notifStore.updateNotifDataFromServer({
username: myusername,
lastdataread: getlastdataread(myusername),
qualinotif: shared_consts.QualiNotifs.OTHERS
}).then((ris) => {
notifStore.updateNotification = false