Skip to content

Commit c064543

Browse files
committed
fix bug
1 parent 1a2f8ba commit c064543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

electron_app/src/components/History.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
Clear History
2121
</div>
2222
<div v-if="Object.values(app_state.app_data.history).length > 0">
23-
<div v-if="Object.values(app_state.app_data.history).length > 30">
23+
<div v-if="get_history().length > 30">
2424
<b-pagination
2525
v-model="currentPage"
26-
:total-rows="Object.values(app_state.app_data.history).length"
26+
:total-rows="get_history().length"
2727
:per-page="30"
2828
/>
2929
</div>

0 commit comments

Comments
 (0)