File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ div(data-hook='viz-container')
6
6
ul.list-inline
7
7
each name, idx in fieldNames
8
8
li= name + (idx < fieldNames .length - 1 ? ' ,' : ' ' )
9
- dt array lengths
10
- dd
11
- ul.list-inline
12
- li min: #{min_length} ,
13
- li average: #{average_length} ,
14
- li max: #{max_length}
9
+ dt array lengths
10
+ dd
11
+ ul.list-inline
12
+ li min: #{min_length} ,
13
+ li average: #{average_length} ,
14
+ li max: #{max_length}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module.exports = VizView.extend({
12
12
min_length : _ . min ( this . model . lengths ) ,
13
13
max_length : _ . max ( this . model . lengths )
14
14
} ;
15
- if ( this . model . parent . arrayFields . length > 0 ) {
15
+ if ( this . model . parent . arrayFields ) {
16
16
parsed . fieldNames = this . model . parent . arrayFields . pluck ( 'name' ) ;
17
17
parsed . fieldsPluralized = pluralize ( 'nested field' , parsed . fieldNames . length , true ) ;
18
18
}
You can’t perform that action at this time.
0 commit comments