File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44 <table class =" afcl-table w-full text-sm text-left rtl:text-right text-lightTableText dark:text-darkTableText overflow-x-auto" >
55 <thead class =" afcl-table-thread text-xs text-lightTableHeadingText uppercase bg-lightTableHeadingBackground dark:bg-darkTableHeadingBackground dark:text-darkTableHeadingText" >
66 <tr >
7- <th scope =" col" class =" px-6 py-3" ref =" headerRefs"
7+ <th scope =" col" class =" px-6 py-3" ref =" headerRefs" :key = " `header-${column.fieldName}` "
88 v-for =" column in columns"
99 >
1010 <slot v-if =" $slots[`header:${column.fieldName}`]" :name =" `header:${column.fieldName}`" :column =" column" />
3434 <tr
3535 v-else =" !isLoading"
3636 v-for =" (item, index) in dataPage"
37+ :key =" `row-${index}`"
3738 ref =" rowRefs"
3839 :class =" {
3940 'afcl-table-body odd:bg-lightTableOddBackground odd:dark:bg-darkTableOddBackground even:bg-lightTableEvenBackground even:dark:bg-darkTableEvenBackground': evenHighlights,
4041 'border-b border-lightTableBorder dark:border-darkTableBorder': index !== dataPage.length - 1 || totalPages > 1,
4142 }"
4243 >
43- <td class =" px-6 py-4"
44+ <td class =" px-6 py-4" :key = " `cell-${index}-${column.fieldName}` "
4445 v-for =" column in props.columns"
4546 >
4647 <slot v-if =" $slots[`cell:${column.fieldName}`]"
You can’t perform that action at this time.
0 commit comments