Fix property names

This commit is contained in:
PrivateGER 2023-05-25 10:21:29 +02:00 committed by PrivateGER
parent a33b548555
commit c35a640bb1
2 changed files with 2 additions and 19 deletions

View File

@ -9,11 +9,6 @@
</div>
</div>
<br />
<div class="ms_stats">
<p>MeiliSearch</p>
</div>
</template>
<script lang="ts" setup>
@ -32,18 +27,6 @@ const available = $computed(() => props.meta.fs.total - props.meta.fs.used);
</script>
<style lang="scss" scoped>
.ms_stats {
padding: 16px;
> div {
> p {
&:first-child {
font-weight: bold;
margin-bottom: 4px;
}
}
}
}
.zbwaqsat {
display: flex;
padding: 16px;

View File

@ -23,9 +23,9 @@ const props = defineProps<{
meta: any; // TODO
}>();
const total_size = $computed(() => props.meta.meilisearch.total);
const total_size = $computed(() => props.meta.meilisearch.size);
const index_count = $computed(() => props.meta.meilisearch.indexed_count);
const available = $computed(() => props.meta.meilisearch.available);
const available = $computed(() => props.meta.meilisearch.health);
</script>
<style lang="scss" scoped>