@@ -119,8 +119,8 @@ export default class BrowserTable extends React.Component {
119
119
required,
120
120
} ) ) ;
121
121
122
- let stickyLefts = [ ] ;
123
- let handleLefts = [ ] ;
122
+ const stickyLefts = [ ] ;
123
+ const handleLefts = [ ] ;
124
124
if (
125
125
typeof this . props . freezeIndex === 'number' &&
126
126
this . props . freezeIndex >= 0
@@ -565,33 +565,33 @@ export default class BrowserTable extends React.Component {
565
565
'overflow-x' : this . props . isResizing ? 'hidden' : 'auto' ,
566
566
} }
567
567
>
568
- < DataBrowserHeaderBar
569
- selected = {
570
- ! ! this . props . selection &&
571
- ! ! this . props . data &&
572
- Object . values ( this . props . selection ) . filter ( checked => checked ) . length ===
573
- this . props . data . length
574
- }
575
- selectAll = { checked =>
576
- this . props . data . forEach ( ( { id } ) => this . props . selectRow ( id , checked ) )
577
- }
578
- headers = { headers }
579
- stickyLefts = { stickyLefts }
580
- handleLefts = { handleLefts }
581
- freezeIndex = { this . props . freezeIndex }
582
- freezeColumns = { this . props . freezeColumns }
583
- unfreezeColumns = { this . props . unfreezeColumns }
584
- updateOrdering = { this . props . updateOrdering }
585
- readonly = { ! ! this . props . relation || ! ! this . props . isUnique }
586
- handleDragDrop = { this . props . handleHeaderDragDrop }
587
- onResize = { this . props . handleResize }
588
- onAddColumn = { this . props . onAddColumn }
589
- preventSchemaEdits = { this . context . preventSchemaEdits }
590
- isDataLoaded = { ! ! this . props . data }
591
- setSelectedObjectId = { this . props . setSelectedObjectId }
592
- setCurrent = { this . props . setCurrent }
593
- setContextMenu = { this . props . setContextMenu }
594
- />
568
+ < DataBrowserHeaderBar
569
+ selected = {
570
+ ! ! this . props . selection &&
571
+ ! ! this . props . data &&
572
+ Object . values ( this . props . selection ) . filter ( checked => checked ) . length ===
573
+ this . props . data . length
574
+ }
575
+ selectAll = { checked =>
576
+ this . props . data . forEach ( ( { id } ) => this . props . selectRow ( id , checked ) )
577
+ }
578
+ headers = { headers }
579
+ stickyLefts = { stickyLefts }
580
+ handleLefts = { handleLefts }
581
+ freezeIndex = { this . props . freezeIndex }
582
+ freezeColumns = { this . props . freezeColumns }
583
+ unfreezeColumns = { this . props . unfreezeColumns }
584
+ updateOrdering = { this . props . updateOrdering }
585
+ readonly = { ! ! this . props . relation || ! ! this . props . isUnique }
586
+ handleDragDrop = { this . props . handleHeaderDragDrop }
587
+ onResize = { this . props . handleResize }
588
+ onAddColumn = { this . props . onAddColumn }
589
+ preventSchemaEdits = { this . context . preventSchemaEdits }
590
+ isDataLoaded = { ! ! this . props . data }
591
+ setSelectedObjectId = { this . props . setSelectedObjectId }
592
+ setCurrent = { this . props . setCurrent }
593
+ setContextMenu = { this . props . setContextMenu }
594
+ />
595
595
{ table }
596
596
</ div >
597
597
) ;
0 commit comments