kopia lustrzana https://codeberg.org/nmkj/audon
remove mute indicator in preview mode #23
rodzic
fac090e68f
commit
7ce3aad1f8
|
@ -17,6 +17,7 @@ export default {
|
|||
data: Object,
|
||||
muted: Boolean,
|
||||
emoji: String,
|
||||
preview: Boolean,
|
||||
},
|
||||
computed: {
|
||||
showEmoji() {
|
||||
|
@ -100,7 +101,7 @@ export default {
|
|||
</v-avatar>
|
||||
<h4 :class="canSpeak ? 'mt-1' : 'mt-2'">
|
||||
<v-icon
|
||||
v-if="canSpeak"
|
||||
v-if="canSpeak && !preview"
|
||||
:icon="muted ? mdiMicrophoneOff : mdiMicrophone"
|
||||
></v-icon>
|
||||
<a :href="data?.url" class="plain" target="_blank">{{
|
||||
|
|
|
@ -845,6 +845,7 @@ export default {
|
|||
<template v-for="(value, key) of participants" :key="key">
|
||||
<Participant
|
||||
v-if="isHost(key)"
|
||||
:preview="preview"
|
||||
:talking="isTalking(key)"
|
||||
type="host"
|
||||
:data="cachedMastoData[key]"
|
||||
|
@ -853,6 +854,7 @@ export default {
|
|||
></Participant>
|
||||
<Participant
|
||||
v-if="isCohost(value)"
|
||||
:preview="preview"
|
||||
:talking="isTalking(key)"
|
||||
type="cohost"
|
||||
:data="cachedMastoData[key]"
|
||||
|
@ -861,6 +863,7 @@ export default {
|
|||
></Participant>
|
||||
<Participant
|
||||
v-if="isSpeaker(key)"
|
||||
:preview="preview"
|
||||
:talking="isTalking(key)"
|
||||
type="speaker"
|
||||
:data="cachedMastoData[key]"
|
||||
|
|
Ładowanie…
Reference in New Issue