File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -140,13 +140,18 @@ export default class BodyRenderer {
140
140
}
141
141
142
142
getNoDataHTML ( ) {
143
- let width = this . instance . header . scrollWidth ;
144
- let height = this . bodyScrollable . clientHeight ;
145
- return `<div class="dt-scrollable__no-data" style='width: ${ width - 2 } px; height: ${ height } px'>
146
- <div class='dt-scrollable__no-data no-data-message'>
147
- ${ this . options . noDataMessage }
148
- </div>
149
- </div>` ;
143
+ const width = this . instance . header . scrollWidth ;
144
+ const height = this . bodyScrollable . clientHeight ;
145
+ return `
146
+ <div
147
+ class="dt-scrollable__no-data"
148
+ style="width: ${ width - 2 } px; height: ${ height } px"
149
+ >
150
+ <div class="dt-scrollable__no-data no-data-message">
151
+ ${ this . options . noDataMessage }
152
+ </div>
153
+ </div>
154
+ ` ;
150
155
}
151
156
152
157
getToastMessageHTML ( message ) {
You can’t perform that action at this time.
0 commit comments