Skip to content

Commit

Permalink
Fixed #5243 - Table: Computed property "bodyStyle" is already defined…
Browse files Browse the repository at this point in the history
… in Props.
  • Loading branch information
tugcekucukoglu committed Mar 14, 2024
1 parent 0e4aba7 commit 1f2e035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/datatable/TableBody.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<tbody :ref="bodyRef" :class="cx('tbody')" role="rowgroup" :style="bodyStyle" v-bind="ptm('tbody', ptmTBodyOptions)">
<tbody :ref="bodyRef" :class="cx('tbody')" role="rowgroup" :style="bodyContentStyle" v-bind="ptm('tbody', ptmTBodyOptions)">
<template v-if="!empty">
<template v-for="(rowData, rowIndex) of value" :key="getRowKey(rowData, rowIndex)">
<DTBodyRow
Expand Down Expand Up @@ -279,7 +279,7 @@ export default {
return null;
},
bodyStyle() {
bodyContentStyle() {
return this.getVirtualScrollerProp('contentStyle');
},
ptmTBodyOptions() {
Expand Down

0 comments on commit 1f2e035

Please sign in to comment.