diff --git a/resources/views/admin/machines/index.blade.php b/resources/views/admin/machines/index.blade.php index 311cf32..0032e21 100644 --- a/resources/views/admin/machines/index.blade.php +++ b/resources/views/admin/machines/index.blade.php @@ -52,6 +52,7 @@ inventorySlots: [], currentPage: 1, lastPage: 1, + totalLogs: 0, init() { const now = new Date(); @@ -94,6 +95,7 @@ this.logs = data.data || []; this.currentPage = data.pagination.current_page; this.lastPage = data.pagination.last_page; + this.totalLogs = data.pagination.total; } } catch (e) { console.error('fetchLogs error:', e); } finally { this.loading = false; }