diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-29 10:40:05 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-29 10:40:05 -0400 |
| commit | 9e6c6fe35d481a860145359f0df11d89b1c2329b (patch) | |
| tree | 1dbd0e914c175b032970d7598cd3292b34dd54f9 /src/client/northstar/core | |
| parent | a180574f56447d6f24b4e77f87efba3a1287da9c (diff) | |
fixed histograms.
Diffstat (limited to 'src/client/northstar/core')
| -rw-r--r-- | src/client/northstar/core/filter/ValueComparision.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/northstar/core/filter/ValueComparision.ts b/src/client/northstar/core/filter/ValueComparision.ts index 80b1242a9..65687a82b 100644 --- a/src/client/northstar/core/filter/ValueComparision.ts +++ b/src/client/northstar/core/filter/ValueComparision.ts @@ -62,13 +62,13 @@ export class ValueComparison { var rawName = this.attributeModel.CodeName; switch (this.Predicate) { case Predicate.STARTS_WITH: - ret += rawName + " !== null && " + rawName + ".StartsWith(" + val + ") "; + ret += rawName + " != null && " + rawName + ".StartsWith(" + val + ") "; return ret; case Predicate.ENDS_WITH: - ret += rawName + " !== null && " + rawName + ".EndsWith(" + val + ") "; + ret += rawName + " != null && " + rawName + ".EndsWith(" + val + ") "; return ret; case Predicate.CONTAINS: - ret += rawName + " !== null && " + rawName + ".Contains(" + val + ") "; + ret += rawName + " != null && " + rawName + ".Contains(" + val + ") "; return ret; default: ret += rawName + " " + op + " " + val + " "; |
