projects
/
kraken-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f80f13b
)
Fixes test for "default metric label" resulting in misapplied labels.
author
David Schoonover
<dsc@wikimedia.org>
Thu, 7 Jun 2012 05:06:30 +0000 (22:06 -0700)
committer
David Schoonover
<dsc@wikimedia.org>
Thu, 7 Jun 2012 05:06:30 +0000 (22:06 -0700)
lib/data/metric-model.co
patch
|
blob
|
history
diff --git
a/lib/data/metric-model.co
b/lib/data/metric-model.co
index
ac3df80
..
a5ecd35
100644
(file)
--- a/
lib/data/metric-model.co
+++ b/
lib/data/metric-model.co
@@
-103,7
+103,7
@@
Metric = exports.Metric = BaseModel.extend do # {{{
isDefaultLabel: ->
label = @get 'label'
- not label or label is @getSourceColumnName() or label is @NEW_METRIC_LABEL
+ not label or label is @getPlaceholderLabel() or label is @NEW_METRIC_LABEL
updateLabel: ->
return this unless @source