Fixe latest history index display.

This commit is contained in:
Abdulmhsen B. A. A.
2024-06-07 22:50:28 +03:00
parent 22929f9f4e
commit fd17670897

View File

@@ -125,7 +125,8 @@ const loadContent = async () => {
try {
const response = await request(`/history?perpage=6`)
if (response.ok) {
lastHistory.value = await response.json()
const json = await response.json();
lastHistory.value = json.history;
}
} catch (e) {
}