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

View file

@ -23,9 +23,9 @@ const props = defineProps<{
meta: any; // TODO 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 index_count = $computed(() => props.meta.meilisearch.indexed_count);
const available = $computed(() => props.meta.meilisearch.available); const available = $computed(() => props.meta.meilisearch.health);
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>