Skip to content

Commit 64646a8

Browse files
committed
hack for demo: show unique values across all types
1 parent 651fa44 commit 64646a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scout-ui/src/minicharts/unique.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ module.exports = VizView.extend({
1515
deps: ['orderedValues'],
1616
cache: false,
1717
fn: function() {
18-
return _(this.model.values.sample(15))
18+
// @hack for demo: show values across all types
19+
return _(this.model.collection.parent.values.sample(15))
1920
.map(function(x) {
2021
return x.value;
2122
})

0 commit comments

Comments
 (0)