use correct stats property

This commit is contained in:
PrivateGER 2023-05-28 03:05:32 +02:00
parent 01ce43e6ad
commit a1f1b74802

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(() => {