Skip to content

Commit

Permalink
webui: fix reaction button (always show)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 29, 2025
1 parent 5a6777d commit efab3f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webui/src/components/BottomActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</button>
</div>
<!-- Reaction button -->
<div>
<div v-if="Webrtc.state.value >= WebrtcState.Listening">
<ReactionEmoji />
</div>
<!-- Audio Mute -->
Expand Down
3 changes: 1 addition & 2 deletions webui/src/components/ReactionEmoji.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-if="Webrtc.state.value === WebrtcState.Listening" class="relative">
<div class="relative">
<button
@click="open = !open"
:class="{ 'bg-gray-700': open }"
Expand Down Expand Up @@ -38,7 +38,6 @@ import { ref } from 'vue'
import { Users } from '../ws/users'
import api from '../api'
import { HeartIcon } from '@heroicons/vue/24/outline'
import { Webrtc, WebrtcState } from '../webrtc'
const emojis = Users.emojis
const open = ref(false)
Expand Down

0 comments on commit efab3f4

Please sign in to comment.