Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@pm.me>2020-04-07 14:47:30 +0300
committerMarco Ambrosini <marcoambrosini@pm.me>2020-04-07 14:50:30 +0300
commit90425a4f9b943fc281d3841b6cdda370f44a323e (patch)
tree316eb40c5900e2d868e2ac7a7ab14ce3aaabc84d /src/FilesSidebarCallViewApp.vue
parent81749306fb656a9e7dbb4920812670959f8e3e53 (diff)
Move the logic to a method to avoid multiple executions
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/FilesSidebarCallViewApp.vue')
-rw-r--r--src/FilesSidebarCallViewApp.vue10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/FilesSidebarCallViewApp.vue b/src/FilesSidebarCallViewApp.vue
index c7226244d..6f6b2c570 100644
--- a/src/FilesSidebarCallViewApp.vue
+++ b/src/FilesSidebarCallViewApp.vue
@@ -1,6 +1,8 @@
<!--
- @copyright Copyright (c) 2019, Daniel Calviño Sánchez <danxuliu@gmail.com>
-
+ - @author Marco Ambrosini <marcoambrosini@pm.me>
+ -
- @license GNU AGPL version 3 or any later version
-
- This program is free software: you can redistribute it and/or modify
@@ -32,6 +34,7 @@
import { PARTICIPANT } from './constants'
import CallView from './components/CallView/CallView'
import PreventUnload from 'vue-prevent-unload'
+import browserCheck from './mixins/browserCheck'
export default {
@@ -42,6 +45,8 @@ export default {
PreventUnload,
},
+ mixins: [browserCheck],
+
data() {
return {
// Needed for reactivity.
@@ -148,6 +153,11 @@ export default {
},
},
+ mounted() {
+ // see browserCheck mixin
+ this.checkBrowser()
+ },
+
methods: {
setFileInfo(fileInfo) {
},