mirror of https://github.com/status-im/consul.git
ui: Remove nspace value from routeName (#8981)
This commit is contained in:
parent
ffb710a6ba
commit
d15ad3ccaa
|
@ -65,8 +65,9 @@ export default class Outlet extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
setAppRoute(name) {
|
setAppRoute(name) {
|
||||||
if (name.startsWith('nspace.')) {
|
const nspace = 'nspace.';
|
||||||
name = name.substr(0, 'nspace.'.length);
|
if (name.startsWith(nspace)) {
|
||||||
|
name = name.substr(nspace.length);
|
||||||
}
|
}
|
||||||
if (name !== 'loading') {
|
if (name !== 'loading') {
|
||||||
const doc = this.dom.root();
|
const doc = this.dom.root();
|
||||||
|
|
Loading…
Reference in New Issue