Merge pull request #21360 from dvdksn/fix-guides-filter-unselect

hugo: show all guides when filters are unselected
This commit is contained in:
David Karlsson
2024-11-08 10:34:16 +01:00
committed by GitHub

View File

@@ -83,7 +83,10 @@
updateVisible() {
const hiddenSet = new Set();
// show if no filters have been selected
if (this.noFilters()) return;
if (this.noFilters()) {
this.hidden = [];
return;
};
const guideContainer = this.$refs['guide-container'];
const guides = guideContainer.children