Skip to content

Commit

Permalink
fix: empty list breaks subscriber page (#1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra authored Feb 29, 2024
1 parent d9e2dce commit 21c1af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/Subscribers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</section><!-- control -->

<br />
<b-table :data="subscribers.results" :loading="loading.subscribers" @check-all="onTableCheck" @check="onTableCheck"
<b-table :data="subscribers.results ?? []" :loading="loading.subscribers" @check-all="onTableCheck" @check="onTableCheck"
:checked-rows.sync="bulk.checked" paginated backend-pagination pagination-position="both"
@page-change="onPageChange" :current-page="queryParams.page" :per-page="subscribers.perPage"
:total="subscribers.total" hoverable checkable backend-sorting @sort="onSort">
Expand Down

0 comments on commit 21c1af0

Please sign in to comment.