Only toggle mentions popup if connected to network
The top bar is only shown if the user is connected to at least one network. Only then it is possible to open the recent mentions popup. Only toggle the recent mentions popup if the user is connected to at least one network so the popup will not open over the connect view.
This commit is contained in:
parent
a93ccd680f
commit
243f514243
@ -101,7 +101,9 @@ export default {
|
||||
return false;
|
||||
},
|
||||
toggleMentions() {
|
||||
if (this.$store.state.networks.length !== 0) {
|
||||
eventbus.emit("mentions:toggle");
|
||||
}
|
||||
},
|
||||
msUntilNextDay() {
|
||||
// Compute how many milliseconds are remaining until the next day starts
|
||||
|
Loading…
Reference in New Issue
Block a user