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
commit 57ee7e8062
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

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