mirror of
https://github.com/status-im/consul.git
synced 2025-02-18 08:36:46 +00:00
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…
x
Reference in New Issue
Block a user