diff --git a/src/pages/Dashboard/LiveOnlineClass.vue b/src/pages/Dashboard/LiveOnlineClass.vue index 0e525d4..27c0424 100644 --- a/src/pages/Dashboard/LiveOnlineClass.vue +++ b/src/pages/Dashboard/LiveOnlineClass.vue @@ -69,7 +69,7 @@ - +
{ - this.$router.push({ name: "Refresh" }); + // this.$router.push({ name: "Refresh" }); + let jitsi = document.getElementById("jitsi-container"); + jitsi.innerHTML = ""; + this.showStartSessionButton = true; }); } catch (error) { // console.error("Failed to load Jitsi API", error); @@ -304,6 +309,8 @@ export default { if (isMobile) { // console.log("==TEACHER=appLink==", this.appLink); window.open(this.appLink); + this.showLoader = false; + this.showStartSessionButton = false; } else { if (window.JitsiMeetExternalAPI) { // var person = prompt("Please enter your name:", "Rabie"); @@ -319,6 +326,7 @@ export default { } } else alert("Jitsi Meet API script not loaded"); this_.startConference(); + this.showStartSessionButton = false; } } })