@paperless/core 1.28.3 → 1.28.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/hydrate/index.js CHANGED
@@ -20477,7 +20477,7 @@ class NavigationItem {
20477
20477
  this.target = undefined;
20478
20478
  }
20479
20479
  render() {
20480
- return (hAsync(Host, { class: `p-navigation-item ${this.active && 'active'}` }, hAsync("a", { href: this.href, target: this.target }, this.icon && hAsync("p-icon", { variant: this.icon }), hAsync("span", { class: this.counter && 'has-counter' }, hAsync("slot", null)), this.counter && (hAsync("p-counter", { variant: "negative" }, this.counter)))));
20480
+ return (hAsync(Host, { class: `p-navigation-item ${this.active && 'active'}` }, hAsync("a", { href: this.href, target: this.target }, this.icon && hAsync("p-icon", { variant: this.icon }), hAsync("span", { class: this.counter && 'has-counter' }, hAsync("slot", null)), !!this.counter && this.counter !== '0' && (hAsync("p-counter", { variant: "negative" }, this.counter)))));
20481
20481
  }
20482
20482
  static get style() { return navigationItemComponentCss; }
20483
20483
  static get cmpMeta() { return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "1.28.3",
3
+ "version": "1.28.4",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",