File tree 1 file changed +3
-3
lines changed
packages/platform/src/app/components/table
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ export function AppTable<T = any>(props: AppTableProps<T>): JSX.Element | null {
233
233
234
234
return (
235
235
< DCard key = { id } className = "mb-3" >
236
- { ( titleIndex !== - 1 || aColumns [ 0 ] . checkbox ) && (
236
+ { ( titleIndex !== - 1 || columns [ 0 ] . checkbox ) && (
237
237
< DCard . Header
238
238
className = "app-table__card-header"
239
239
dAction = {
@@ -280,7 +280,7 @@ export function AppTable<T = any>(props: AppTableProps<T>): JSX.Element | null {
280
280
}
281
281
>
282
282
{ ( ( ) => {
283
- const checkbox : any = aColumns [ 0 ] . checkbox ? aColumns [ 0 ] . td : false ;
283
+ const checkbox : any = columns [ 0 ] . checkbox ? columns [ 0 ] . td : false ;
284
284
const content = titleIndex !== - 1 && columns [ titleIndex ] . td ;
285
285
286
286
return (
@@ -306,7 +306,7 @@ export function AppTable<T = any>(props: AppTableProps<T>): JSX.Element | null {
306
306
/>
307
307
</ DCard . Content >
308
308
{ ( ( ) => {
309
- if ( aActions && titleIndex === - 1 && ! aColumns [ 0 ] . checkbox ) {
309
+ if ( aActions && titleIndex === - 1 && ! columns [ 0 ] . checkbox ) {
310
310
const actions = aActions . actions ( data , index ) . filter ( ( action ) => ! action . hidden ) ;
311
311
if ( actions . length === 0 ) {
312
312
return ;
You can’t perform that action at this time.
0 commit comments