- Fixed Image avatar user list, q-qvatar rounded image
This commit is contained in:
@@ -9,10 +9,14 @@ import { tools } from '@src/store/Modules/tools'
|
||||
import { toolsext } from '@src/store/Modules/toolsext'
|
||||
import { ITodo, ITodosState } from '../../../model'
|
||||
import { Getter } from 'vuex-class'
|
||||
import { UserStore } from '../../../store/Modules'
|
||||
|
||||
import MixinUsers from '../../../mixins/mixin-users'
|
||||
|
||||
const namespace = 'UserModule'
|
||||
|
||||
@Component({
|
||||
mixins: [MixinUsers]
|
||||
})
|
||||
export default class MessagePopover extends Vue {
|
||||
|
||||
@@ -25,6 +29,20 @@ export default class MessagePopover extends Vue {
|
||||
// }
|
||||
}
|
||||
|
||||
get getNumMsg() {
|
||||
return UserStore.getters.getlasts_messages().length
|
||||
}
|
||||
|
||||
get getNumMsgUnread() {
|
||||
// return UserStore.getters.getlasts_messages().length
|
||||
return UserStore.getters.getnumMsgUnread()
|
||||
}
|
||||
|
||||
get getNumNotifUnread() {
|
||||
// return UserStore.getters.getlasts_messages().length
|
||||
return 0
|
||||
}
|
||||
|
||||
public randomDate(): Date {
|
||||
let myval = Math.floor(Math.random() * 10000000000)
|
||||
return tools.getstrDateTime(new Date(tools.getTimestampsNow() - myval))
|
||||
|
||||
Reference in New Issue
Block a user