File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/platform/src/app/components/table Expand file tree Collapse file tree 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 {
233233
234234 return (
235235 < DCard key = { id } className = "mb-3" >
236- { ( titleIndex !== - 1 || aColumns [ 0 ] . checkbox ) && (
236+ { ( titleIndex !== - 1 || columns [ 0 ] . checkbox ) && (
237237 < DCard . Header
238238 className = "app-table__card-header"
239239 dAction = {
@@ -280,7 +280,7 @@ export function AppTable<T = any>(props: AppTableProps<T>): JSX.Element | null {
280280 }
281281 >
282282 { ( ( ) => {
283- const checkbox : any = aColumns [ 0 ] . checkbox ? aColumns [ 0 ] . td : false ;
283+ const checkbox : any = columns [ 0 ] . checkbox ? columns [ 0 ] . td : false ;
284284 const content = titleIndex !== - 1 && columns [ titleIndex ] . td ;
285285
286286 return (
@@ -306,7 +306,7 @@ export function AppTable<T = any>(props: AppTableProps<T>): JSX.Element | null {
306306 />
307307 </ DCard . Content >
308308 { ( ( ) => {
309- if ( aActions && titleIndex === - 1 && ! aColumns [ 0 ] . checkbox ) {
309+ if ( aActions && titleIndex === - 1 && ! columns [ 0 ] . checkbox ) {
310310 const actions = aActions . actions ( data , index ) . filter ( ( action ) => ! action . hidden ) ;
311311 if ( actions . length === 0 ) {
312312 return ;
You can’t perform that action at this time.
0 commit comments