diff options
author | drebs <drebs@riseup.net> | 2017-10-17 20:14:46 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-10-17 20:14:46 -0200 |
commit | 1c5a8c3daf841912e636e99e9626835613731f4c (patch) | |
tree | ee7b308b960bdbb0a79f80757fb3c379303792b3 /widgets/benchmarks/benchmarks.coffee | |
parent | 9af4268d9970a60625aae3b494ea2443f0d1d450 (diff) |
Diffstat (limited to 'widgets/benchmarks/benchmarks.coffee')
-rw-r--r-- | widgets/benchmarks/benchmarks.coffee | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/benchmarks/benchmarks.coffee b/widgets/benchmarks/benchmarks.coffee index 1d47b7c..2e1a6ba 100644 --- a/widgets/benchmarks/benchmarks.coffee +++ b/widgets/benchmarks/benchmarks.coffee @@ -13,3 +13,9 @@ class Dashing.Benchmarks extends Dashing.Widget @accessor 'hasGoodOutliers', -> @get('good') > 0 + + @accessor 'isBenchmarked', -> + !/NOT/.test(@get('is-benchmarked-status')) + + @accessor 'isNotBenchmarked', -> + /NOT/.test(@get('is-benchmarked-status')) |