diff options
Diffstat (limited to '_www')
| -rw-r--r-- | _www/nav_links.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_www/nav_links.ts b/_www/nav_links.ts index dbddb2f..f577607 100644 --- a/_www/nav_links.ts +++ b/_www/nav_links.ts @@ -38,6 +38,9 @@ export class NavLinks { } generateNav() { + if (!this.navs) { + return; + } this.navs.forEach((nav: NavLinkInterface) => { const el = document.createElement("div"); el.classList.add(CLASS_NAV_LINK); |
