Skip to content

Commit 52426c8

Browse files
fixing rule based styling wrong casting at number
1 parent 8fa8c15 commit 52426c8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/extensions/styling/StyleRuleEvaluator.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ const evaluateCondition = (realValue, condition, ruleValue) => {
132132
// If something is null, rules are never met.
133133
return false;
134134
}
135-
if (!isNaN(Number(ruleValue))) {
136-
ruleValue = Number(ruleValue);
137-
}
138135
if (condition == '=') {
139136
return realValue === ruleValue;
140137
}

0 commit comments

Comments
 (0)