TT#39593 [Issue] Call: Unable to open right drawer again after resizing and swiping it away

Change-Id: I895bee8b26c68a56ebba13d56f5b85fb9cad2f1c
changes/10/22410/1
Hans-Peter Herzog 7 years ago
parent 3aec25e93e
commit 54c1b07b61

@ -272,6 +272,7 @@
this.$store.commit('layout/toggleFullscreen');
},
call() {
this.$refs.layout.showRight();
this.$store.dispatch('call/showCall');
},
logout() {
@ -291,6 +292,7 @@
}
},
closeCall() {
this.$refs.layout.hideRight();
this.$store.commit('layout/hideRight');
},
applyLayout() {

@ -76,6 +76,7 @@
mounted() {
this.$store.commit('conversations/resetList');
},
inject: ['layout'],
computed: {
...mapGetters('conversations', [
'items',
@ -106,6 +107,7 @@
this.$store.dispatch('conversations/nextPage');
},
initCall(call) {
this.layout.showRight();
this.$store.dispatch('call/start', {
number: call.number,
localMedia: call.media

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

Loading…
Cancel
Save