use correct stats property

This commit is contained in:
PrivateGER 2023-05-28 03:05:32 +02:00
parent 4fdf331f63
commit 57577ddedb

View file

@ -27,7 +27,7 @@ let available: string = $ref("unavailable");
function onStats(stats) { function onStats(stats) {
total_size = stats.meilisearch.size; total_size = stats.meilisearch.size;
index_count = stats.meilisearch.indexed_count; index_count = stats.meilisearch.indexed_count;
available = stats.meilisearch.available; available = stats.meilisearch.health;
} }
onMounted(() => { onMounted(() => {