- Transazioni Pendenti (all'Admin compaiono tutte quelle pendenti e con la possibilità di accettarle)
This commit is contained in:
@@ -111,8 +111,15 @@ export default defineComponent({
|
||||
|
||||
function getlastnotifcoins(username: string): any {
|
||||
// Get msg for this chat
|
||||
if (notifStore.last_notifcoins)
|
||||
return notifStore.last_notifcoins.find((rec: INotif) => rec.dest === username)
|
||||
if (notifStore.last_notifcoins) {
|
||||
if (userStore.isAdmin) {
|
||||
console.log('userStore.isAdmin', userStore.isAdmin, notifStore.last_notifcoins)
|
||||
return notifStore.last_notifcoins
|
||||
} else {
|
||||
return notifStore.last_notifcoins.find((rec: INotif) => rec.dest === username)
|
||||
}
|
||||
|
||||
}
|
||||
// return users_msg_saved[username]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user