Skip to content

Commit

Permalink
fix: Use <tfoot> for "loading older entries" row (intersection obse…
Browse files Browse the repository at this point in the history
…rver)

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jul 21, 2023
1 parent a98b582 commit 2bf3443
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/table/LogTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
:key="rowNumber"
:row="row"
@show-details="showDetailsForRow" />

</tbody>
<tfoot>
<tr v-if="sortedByTime !== 'ascending'">
<td colspan="5" class="log-table__load-more">
<IntersectionObserver v-if="logStore.hasRemainingEntries" @intersection="loadMore">
Expand All @@ -50,7 +51,7 @@
</span>
</td>
</tr>
</tbody>
</tfoot>
</table>
</div>
</template>
Expand Down

0 comments on commit 2bf3443

Please sign in to comment.