File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
<br >
21
21
<h4 >None</h4 >
22
22
<calendar-heatmap :values =" []" :end-date =" endDate" :style =" {'max-width': orientation === 'vertical' ? '145px' : '675px'}"
23
- :vertical =" orientation === 'vertical'" />
23
+ :vertical =" orientation === 'vertical'" :no-data-text = " false " />
24
24
<br >
25
25
<h4 >Some</h4 >
26
26
<calendar-heatmap
Original file line number Diff line number Diff line change 154
154
default: false
155
155
},
156
156
noDataText : {
157
- type : String ,
157
+ type : [ Boolean , String ] ,
158
158
default: null
159
159
},
160
160
round : {
213
213
return ` <b>${day .count } ${props .tooltipUnit }</b> ${lo .value .on } ${lo .value .months [ day .date .getMonth () ]} ${day .date .getDate ()}, ${day .date .getFullYear ()} ` ;
214
214
} else if (props .noDataText ) {
215
215
return ` ${props .noDataText } ` ;
216
- } else {
216
+ } else if ( props . noDataText !== false ) {
217
217
return ` <b>No ${props .tooltipUnit }</b> ${lo .value .on } ${lo .value .months [ day .date .getMonth () ]} ${day .date .getDate ()}, ${day .date .getFullYear ()} ` ;
218
218
}
219
219
}
You can’t perform that action at this time.
0 commit comments