Fix typo
This commit is contained in:
parent
3e1bd3fe01
commit
923c5fcd04
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tp/tp-router",
|
"name": "@tp/tp-router",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "tp-router.js",
|
"main": "tp-router.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -131,7 +131,7 @@ export class TpRouter extends LitElement {
|
|||||||
const routes = this._slottedChildren;
|
const routes = this._slottedChildren;
|
||||||
|
|
||||||
routes.forEach(routeEl => {
|
routes.forEach(routeEl => {
|
||||||
if (routeEl.nodeName === 'tp-ROUTE') {
|
if (routeEl.nodeName === 'TP-ROUTE') {
|
||||||
this.add(routeEl.path, routeEl.data, routeEl.namespace, routeEl.redirect);
|
this.add(routeEl.path, routeEl.data, routeEl.namespace, routeEl.redirect);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user