Commit e05668b28f8a358d7b5f138ceb7fc77782a6ab96
1 parent
7014df603e
Exists in
master
and in
2 other branches
Clear preavious data while selecting class from drop-down in Exam Attendence and…
… show password in video sharing link
Showing
3 changed files
with
7 additions
and
10 deletions
Show diff stats
src/pages/Dashboard/LiveOnlineClass.vue
... | ... | @@ -151,7 +151,6 @@ export default { |
151 | 151 | |
152 | 152 | // JITSI CONTAINER |
153 | 153 | liveLink: "", |
154 | - livePassword: "", | |
155 | 154 | token: "", |
156 | 155 | selectStudents: {}, |
157 | 156 | classRules: [(v) => !!v || " Class Name is required"], |
... | ... | @@ -230,15 +229,16 @@ export default { |
230 | 229 | disableSimulcast: false, |
231 | 230 | }, |
232 | 231 | teacherName: "", |
233 | - romm: "", | |
232 | + room: "", | |
234 | 233 | }; |
235 | 234 | _this.api = new JitsiMeetExternalAPI(domain, options); |
236 | 235 | // console.log("this.api ", this.api); |
237 | 236 | _this.api.addEventListener("videoConferenceJoined", () => { |
238 | - // console.log("Local User Joined"); | |
239 | 237 | this.showLoader = false; |
240 | - _this.api.executeCommand("displayName", _this.username); | |
241 | - _this.api.executeCommand("password", _this.roomPassword); | |
238 | + setTimeout(() => { | |
239 | + _this.api.executeCommand("displayName", _this.username); | |
240 | + _this.api.executeCommand("password", _this.roomPassword); | |
241 | + }, 1000); | |
242 | 242 | }); |
243 | 243 | |
244 | 244 | _this.api.on("readyToClose", () => { |
... | ... | @@ -310,7 +310,6 @@ export default { |
310 | 310 | }, |
311 | 311 | async studentClasses() { |
312 | 312 | this.liveLink = ""; |
313 | - this.livePassword = ""; | |
314 | 313 | this.room = ""; |
315 | 314 | this.username = ""; |
316 | 315 | this.roomPassword = ""; |
... | ... | @@ -336,14 +335,11 @@ export default { |
336 | 335 | this.studentBtn = ""; |
337 | 336 | } else { |
338 | 337 | this.liveLink = response.data.data[0].link; |
339 | - this.livePassword = response.data.data[0].password; | |
340 | 338 | var room = response.data.data[0].roomName; |
341 | 339 | var username = this.currentUser; |
342 | 340 | var roomPassword = response.data.data[0].password; |
343 | 341 | var this_ = this; |
344 | 342 | // console.log(this.room, this.roomPassword, this.username); |
345 | - // console.log("live session link", this.liveLink); | |
346 | - // console.log("live session password", this.livePassword); | |
347 | 343 | |
348 | 344 | if (username != "" || room != "") { |
349 | 345 | if (window.JitsiMeetExternalAPI) { | ... | ... |
src/pages/Dashboard/dashboard.vue