...
 
Commits (2)
......@@ -44,7 +44,7 @@ export default class SIBRouter extends HTMLElement {
route.hide();
}
navigate(routeName = '', resource) {
const route = this.querySelector('sib-route[name='+routeName+']');
const route = this.querySelector('sib-route[name="'+routeName+'"]');
if(!route) return; //this route is not for me!
const id = resource ? resource['@id'] : null;
......