ui: Remove nspace value from routeName (#8981)
This commit is contained in:
parent
31e9998a5d
commit
8d7683c7ec
|
@ -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