@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.js
CHANGED
|
@@ -1298,7 +1298,7 @@ var Sidebar = class {
|
|
|
1298
1298
|
const orphans = comments.filter((c) => conf.get(c.id) === "orphaned");
|
|
1299
1299
|
const anchored = comments.filter((c) => conf.get(c.id) !== "orphaned");
|
|
1300
1300
|
const statusOf = (c) => c.status ?? "open";
|
|
1301
|
-
const visible = this.filter === "open" ? anchored.filter((c) => statusOf(c) === "open") : this.filter === "resolved" ? anchored.filter((c) => statusOf(c)
|
|
1301
|
+
const visible = this.filter === "open" ? anchored.filter((c) => statusOf(c) === "open") : this.filter === "resolved" ? anchored.filter((c) => statusOf(c) !== "open") : anchored;
|
|
1302
1302
|
const visibleOrphans = this.filter === "all" ? orphans : [];
|
|
1303
1303
|
const counts = countByStatus(comments);
|
|
1304
1304
|
if (visible.length === 0 && visibleOrphans.length === 0) {
|
|
@@ -1409,7 +1409,7 @@ var Sidebar = class {
|
|
|
1409
1409
|
Open <span class="vz-sidebar-filter-count">${counts.open}</span>
|
|
1410
1410
|
</button>
|
|
1411
1411
|
<button class="vz-sidebar-filter ${this.filter === "resolved" ? "is-active" : ""}" data-vz="filter" data-filter="resolved" role="tab" aria-selected="${this.filter === "resolved"}">
|
|
1412
|
-
Resolved <span class="vz-sidebar-filter-count">${counts.resolved}</span>
|
|
1412
|
+
Resolved <span class="vz-sidebar-filter-count">${counts.resolved + counts.wontfix}</span>
|
|
1413
1413
|
</button>
|
|
1414
1414
|
<button class="vz-sidebar-filter ${this.filter === "all" ? "is-active" : ""}" data-vz="filter" data-filter="all" role="tab" aria-selected="${this.filter === "all"}">
|
|
1415
1415
|
All <span class="vz-sidebar-filter-count">${total}</span>
|