Fix user context menus in in search results view
This commit is contained in:
parent
d6a23061fc
commit
40aaa17c9b
@ -163,11 +163,17 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
chan() {
|
||||||
|
this.setActiveChannel();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.doSearch();
|
this.doSearch();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
setActiveChannel() {
|
||||||
|
this.$store.commit("activeChannel", this.chan);
|
||||||
|
},
|
||||||
shouldDisplayDateMarker(message, id) {
|
shouldDisplayDateMarker(message, id) {
|
||||||
const previousMessage = this.messages[id - 1];
|
const previousMessage = this.messages[id - 1];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user