diff --git a/src/index.ts b/src/index.ts index 0644feb..a1a4f25 100644 --- a/src/index.ts +++ b/src/index.ts @@ -77,10 +77,8 @@ class VueBreadcrumbs implements PluginObject> { this.$breadcrumbs.map((crumb: RouteRecord, index: number) => { if (crumb?.meta?.breadcrumb) { let label = this.getBreadcrumb(crumb.meta.breadcrumb); - if (label === '') { - console.log('Breadcrumb blank. Ignoring'); - } else { - console.log('Breadcrumb valid', crumb?.meta?.breadcrumb); + if (label !== '') { + return createElement( 'li', {