bug fix: incorrect handling of empty hashpath
This commit is contained in:
@@ -3883,6 +3883,9 @@
|
|||||||
} else {
|
} else {
|
||||||
console.log("Unknown sidepanel view", hash.path[0]);
|
console.log("Unknown sidepanel view", hash.path[0]);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// Empty hashpath
|
||||||
|
this.setState({sidePanelSelected: ''});
|
||||||
}
|
}
|
||||||
// Topic for MessagesView selector.
|
// Topic for MessagesView selector.
|
||||||
if (hash.path.length > 1 && hash.path[1] != this.state.topicSelected) {
|
if (hash.path.length > 1 && hash.path[1] != this.state.topicSelected) {
|
||||||
|
|||||||
Reference in New Issue
Block a user