We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11af7bb + 7bd0556 commit e3bf1adCopy full SHA for e3bf1ad
1 file changed
Dist/WebflowOnly/CMSFilter.js
@@ -520,8 +520,10 @@ class CMSFilter {
520
}
521
522
if(this.allItems){
523
- if(this.allItems.length > 0) {
524
- return this.allItems.length;
+ //trim out static elements from RenderStatic
+ let elements = this.allItems.filter(item => !item.hasAttribute('wt-renderstatic-element'));
525
+ if(elements.length > 0) {
526
+ return elements.length;
527
528
return 0;
529
0 commit comments