bug fix: remve &tab= on cancel
This commit is contained in:
@@ -4114,6 +4114,9 @@
|
|||||||
handleSidepanelCancel: function() {
|
handleSidepanelCancel: function() {
|
||||||
var parsed = parseUrlHash(window.location.hash);
|
var parsed = parseUrlHash(window.location.hash);
|
||||||
parsed.path[0] = '';
|
parsed.path[0] = '';
|
||||||
|
if (parsed.params) {
|
||||||
|
delete parsed.params.tab;
|
||||||
|
}
|
||||||
window.location.hash = composeUrlHash(parsed.path, parsed.params);
|
window.location.hash = composeUrlHash(parsed.path, parsed.params);
|
||||||
this.setState({sidePanelSelected: '', errorText: '', errorLevel: null});
|
this.setState({sidePanelSelected: '', errorText: '', errorLevel: null});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user