Skip to content

Commit 43f9e31

Browse files
committed
Fix DependencyChecker branch that looks at attributes with a fixed value
1 parent d9713fe commit 43f9e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/block.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class DependencyChecker {
120120
if(deps["any"]) {
121121
let attr = deps["any"][a];
122122
if(attr === true) return true;
123-
if(attr === true && attr[v] === true) return true
123+
if(attr && attr[v] === true) return true
124124
}
125125
for(let tag of tags) {
126126
let attrIndex = deps[tag];

0 commit comments

Comments
 (0)