@@ -702,53 +702,8 @@ export default {
702
702
// Build the tfoot
703
703
const $tfoot = this . renderTfoot ( )
704
704
705
- // Prepare the tbody rows
706
- const $rows = [ ]
707
-
708
- // Add static Top Row slot (hidden in visibly stacked mode as we can't control the data-label)
709
- $rows . push ( this . renderTopRow ( ) )
710
-
711
- // Add the item data rows or the busy slot
712
- const $busy = this . renderBusy ( )
713
- if ( $busy ) {
714
- $rows . push ( $busy )
715
- } else {
716
- // Show the rows
717
- items . forEach ( ( item , rowIndex ) => {
718
- // Render the individual item row (rows if details slot)
719
- $rows . push ( this . renderTbodyRow ( item , rowIndex ) )
720
- } )
721
- }
722
-
723
- // Empty Items / Empty Filtered Row slot
724
- $rows . push ( this . renderEmpty ( ) )
725
-
726
- // Static bottom row slot (hidden in visibly stacked mode as we can't control the data-label)
727
- $rows . push ( this . renderBottomRow ( ) )
728
-
729
- // Is tbody transition enabled
730
- const isTransGroup = this . tbodyTransitionProps || this . tbodyTransitionHandlers
731
- let tbodyProps = { }
732
- let tbodyOn = { }
733
- if ( isTransGroup ) {
734
- tbodyOn = this . tbodyTransitionHandlers || { }
735
- tbodyProps = {
736
- ...( this . tbodyTransitionProps || { } ) ,
737
- tag : 'tbody'
738
- }
739
- }
740
-
741
- // Assemble the rows into the tbody
742
- const $tbody = h (
743
- isTransGroup ? 'transition-group' : 'tbody' ,
744
- {
745
- props : tbodyProps ,
746
- on : tbodyOn ,
747
- class : this . bodyClasses ,
748
- attrs : this . isStacked ? { role : 'rowgroup' } : { }
749
- } ,
750
- $rows
751
- )
705
+ // Build the tbody
706
+ const $tbody = this . renderTbody ( )
752
707
753
708
// Assemble table
754
709
const $table = h (
0 commit comments