Commit 46997790de2e92b1d1d6b4879a0e64553e39fa1f

Authored by Shikha Mishra
1 parent 92c6232a67

remove join session button while video is running

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
src/pages/Dashboard/LiveOnlineClass.vue
... ... @@ -36,7 +36,7 @@
36 36 </v-flex>
37 37  
38 38 <!-- JOIN OR END SESSION -->
39   - <v-flex>
  39 + <v-flex v-if="showJoinSessionButton">
40 40 <div>
41 41 <v-btn
42 42 round
... ... @@ -164,6 +164,7 @@ export default {
164 164 counter: 0,
165 165 appLink: "",
166 166 showStartSessionButton: true,
  167 + showJoinSessionButton: true,
167 168 };
168 169 },
169 170 methods: {
... ... @@ -178,9 +179,11 @@ export default {
178 179 // console.log("==PARENT=appLink==", this.appLink);
179 180 window.open(this.appLink);
180 181 this.showLoader = false;
  182 + this.showJoinSessionButton = false;
181 183 } else {
182 184 this.startConference();
183 185 this.counter += 1;
  186 + this.showJoinSessionButton = false;
184 187 }
185 188 }
186 189 }
... ... @@ -257,6 +260,7 @@ export default {
257 260 let jitsi = document.getElementById("jitsi-container");
258 261 jitsi.innerHTML = "";
259 262 this.showStartSessionButton = true;
  263 + this.showJoinSessionButton = true;
260 264 });
261 265 } catch (error) {
262 266 // console.error("Failed to load Jitsi API", error);
... ...