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) {
|
||||
if (name.startsWith('nspace.')) {
|
||||
name = name.substr(0, 'nspace.'.length);
|
||||
const nspace = 'nspace.';
|
||||
if (name.startsWith(nspace)) {
|
||||
name = name.substr(nspace.length);
|
||||
}
|
||||
if (name !== 'loading') {
|
||||
const doc = this.dom.root();
|
||||
|
|
Loading…
Reference in New Issue