+
@@ -208,11 +210,12 @@ let showPhoneCall = ref(false)
let showCallPopup = ref(false)
let showSmallCallWindow = ref(false)
let onCall = ref(false)
+let calling = ref(false)
let muted = ref(false)
let callPopup = ref(null)
let callPopupHandle = ref(null)
-let calling = ref(false)
let counterUp = ref(null)
+let callStatus = ref('')
const { width, height } = useWindowSize()
@@ -330,8 +333,6 @@ function handleDisconnectedIncomingCall() {
counterUp.value.stop()
}
-let callStatus = ref('')
-
async function makeOutgoingCall(close) {
close()
if (device) {
@@ -363,7 +364,6 @@ async function makeOutgoingCall(close) {
showCallPopup.value = true
calling.value = true
onCall.value = false
- callStatus.value = 'calling'
})
_call.value.on('disconnect', () => {
log.value = `Call ended.`
diff --git a/frontend/src/components/LayoutHeader.vue b/frontend/src/components/LayoutHeader.vue
index 795b2b04..e7060217 100644
--- a/frontend/src/components/LayoutHeader.vue
+++ b/frontend/src/components/LayoutHeader.vue
@@ -6,7 +6,6 @@