before update add chat
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
|
||||
const props = defineProps<{
|
||||
access?: 0 | 1 | 2
|
||||
state?: 1 | 2 | 3 | 4
|
||||
state?: 1 | 2 | 3 | 4
|
||||
conference?: boolean
|
||||
time?: number
|
||||
}>()
|
||||
|
||||
@@ -33,7 +34,9 @@
|
||||
? chatAccess(props.access)
|
||||
: props.state
|
||||
? chatState(props.state)
|
||||
: { info: '', icon: '', color: '', label: '', description: '' }
|
||||
: props.conference
|
||||
? { info: '', icon: 'mdi-video-box', color: 'grey', label: 'chat_type__label_conference', description: 'chat_type__description_conference' }
|
||||
: { info: '', icon: '', color: '', label: '', description: '' }
|
||||
|
||||
function getDate (d: number) {
|
||||
return new Date(d * 1000).getFullYear() === new Date(Date.now()).getFullYear()
|
||||
|
||||
Reference in New Issue
Block a user