We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcfc6d commit 1812ed6Copy full SHA for 1812ed6
scout-ui/src/minicharts/index.js
@@ -25,9 +25,9 @@ module.exports = AmpersandView.extend({
25
},
26
render: function() {
27
this.renderWithTemplate(this);
28
-
29
// unique values get a div-based minichart
30
- if (this.model.unique === this.model.count) {
+ if ((['String', 'Number'].indexOf(this.model.name) !== -1) &&
+ (this.model.unique === this.model.count)) {
31
this.viewOptions.renderMode = 'html';
32
this.viewOptions.className = 'minichart unique';
33
this.subview = new UniqueMinichartView(this.viewOptions);
0 commit comments