|
|
@ -116,6 +116,7 @@
|
|
|
|
QCardActions,
|
|
|
|
QCardActions,
|
|
|
|
QIcon
|
|
|
|
QIcon
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
inject: ['layout'],
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
scroll.setScrollPosition(this.$el, 0, 100);
|
|
|
|
scroll.setScrollPosition(this.$el, 0, 100);
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -140,6 +141,7 @@
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
call() {
|
|
|
|
call() {
|
|
|
|
if(this.isCallAvailable) {
|
|
|
|
if(this.isCallAvailable) {
|
|
|
|
|
|
|
|
this.layout.showRight();
|
|
|
|
this.$store.dispatch('call/showCall');
|
|
|
|
this.$store.dispatch('call/showCall');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
@ -148,6 +150,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
screenShare() {
|
|
|
|
screenShare() {
|
|
|
|
if(this.isCallAvailable && !this.isMobile) {
|
|
|
|
if(this.isCallAvailable && !this.isMobile) {
|
|
|
|
|
|
|
|
this.layout.showRight();
|
|
|
|
this.$store.dispatch('call/showCall');
|
|
|
|
this.$store.dispatch('call/showCall');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|