mirror of https://github.com/docker/docs.git
Merge pull request #21360 from dvdksn/fix-guides-filter-unselect
hugo: show all guides when filters are unselected
This commit is contained in:
commit
57ee7e8062
|
|
@ -83,7 +83,10 @@
|
||||||
updateVisible() {
|
updateVisible() {
|
||||||
const hiddenSet = new Set();
|
const hiddenSet = new Set();
|
||||||
// show if no filters have been selected
|
// show if no filters have been selected
|
||||||
if (this.noFilters()) return;
|
if (this.noFilters()) {
|
||||||
|
this.hidden = [];
|
||||||
|
return;
|
||||||
|
};
|
||||||
const guideContainer = this.$refs['guide-container'];
|
const guideContainer = this.$refs['guide-container'];
|
||||||
const guides = guideContainer.children
|
const guides = guideContainer.children
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue