fix: Fix issues with leave room button (#10942)
Fixes https://linear.app/chatwoot/issue/CW-4069/typeerror-cannot-set-properties-of-undefined-setting-dyteauthtoken
This commit is contained in:
@@ -34,7 +34,7 @@ const joinTheCall = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const leaveTheRoom = () => {
|
const leaveTheRoom = () => {
|
||||||
this.dyteAuthToken = '';
|
dyteAuthToken.value = '';
|
||||||
};
|
};
|
||||||
const action = computed(() => ({
|
const action = computed(() => ({
|
||||||
label: t('INTEGRATION_SETTINGS.DYTE.CLICK_HERE_TO_JOIN'),
|
label: t('INTEGRATION_SETTINGS.DYTE.CLICK_HERE_TO_JOIN'),
|
||||||
@@ -60,7 +60,7 @@ const action = computed(() => ({
|
|||||||
allow="camera;microphone;fullscreen;display-capture;picture-in-picture;clipboard-write;"
|
allow="camera;microphone;fullscreen;display-capture;picture-in-picture;clipboard-write;"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
class="px-4 py-2 text-sm rounded-lg bg-n-solid-3"
|
class="px-4 py-2 text-sm rounded-lg bg-n-solid-3 mt-3"
|
||||||
@click="leaveTheRoom"
|
@click="leaveTheRoom"
|
||||||
>
|
>
|
||||||
{{ $t('INTEGRATION_SETTINGS.DYTE.LEAVE_THE_ROOM') }}
|
{{ $t('INTEGRATION_SETTINGS.DYTE.LEAVE_THE_ROOM') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user