@unhingged/vizu-core 0.1.18 → 0.1.19
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/dist/auto.cjs +2 -2
- package/dist/auto.cjs.map +1 -1
- package/dist/auto.js +2 -2
- package/dist/auto.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +2 -2
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +2 -2
- package/dist/internal.js.map +1 -1
- package/dist/vizu.min.js +2 -2
- package/dist/vizu.min.js.map +1 -1
- package/package.json +1 -1
package/dist/internal.cjs
CHANGED
|
@@ -1328,7 +1328,7 @@ var Sidebar = class {
|
|
|
1328
1328
|
const orphans = comments.filter((c) => conf.get(c.id) === "orphaned");
|
|
1329
1329
|
const anchored = comments.filter((c) => conf.get(c.id) !== "orphaned");
|
|
1330
1330
|
const statusOf = (c) => c.status ?? "open";
|
|
1331
|
-
const visible = this.filter === "open" ? anchored.filter((c) => statusOf(c) === "open") : this.filter === "resolved" ? anchored.filter((c) => statusOf(c)
|
|
1331
|
+
const visible = this.filter === "open" ? anchored.filter((c) => statusOf(c) === "open") : this.filter === "resolved" ? anchored.filter((c) => statusOf(c) !== "open") : anchored;
|
|
1332
1332
|
const visibleOrphans = this.filter === "all" ? orphans : [];
|
|
1333
1333
|
const counts = countByStatus(comments);
|
|
1334
1334
|
if (visible.length === 0 && visibleOrphans.length === 0) {
|
|
@@ -1439,7 +1439,7 @@ var Sidebar = class {
|
|
|
1439
1439
|
Open <span class="vz-sidebar-filter-count">${counts.open}</span>
|
|
1440
1440
|
</button>
|
|
1441
1441
|
<button class="vz-sidebar-filter ${this.filter === "resolved" ? "is-active" : ""}" data-vz="filter" data-filter="resolved" role="tab" aria-selected="${this.filter === "resolved"}">
|
|
1442
|
-
Resolved <span class="vz-sidebar-filter-count">${counts.resolved}</span>
|
|
1442
|
+
Resolved <span class="vz-sidebar-filter-count">${counts.resolved + counts.wontfix}</span>
|
|
1443
1443
|
</button>
|
|
1444
1444
|
<button class="vz-sidebar-filter ${this.filter === "all" ? "is-active" : ""}" data-vz="filter" data-filter="all" role="tab" aria-selected="${this.filter === "all"}">
|
|
1445
1445
|
All <span class="vz-sidebar-filter-count">${total}</span>
|