mirror of
https://github.com/knadh/listmonk.git
synced 2025-10-09 14:56:03 +08:00
fix: empty list breaks subscriber page (#1755)
This commit is contained in:
parent
d9e2dce66c
commit
21c1af0d02
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
</section><!-- control -->
|
</section><!-- control -->
|
||||||
|
|
||||||
<br />
|
<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"
|
:checked-rows.sync="bulk.checked" paginated backend-pagination pagination-position="both"
|
||||||
@page-change="onPageChange" :current-page="queryParams.page" :per-page="subscribers.perPage"
|
@page-change="onPageChange" :current-page="queryParams.page" :per-page="subscribers.perPage"
|
||||||
:total="subscribers.total" hoverable checkable backend-sorting @sort="onSort">
|
:total="subscribers.total" hoverable checkable backend-sorting @sort="onSort">
|
||||||
|
|
Loading…
Add table
Reference in a new issue