dev31
This commit is contained in:
parent
655cf3dc27
commit
d7d5915e3b
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "14.0.0-dev26",
|
||||
"version": "14.0.0-dev31",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="ms_stats">
|
||||
<div class="verusivbr">
|
||||
<XPie class="pie" :value="progress" />
|
||||
<div>
|
||||
<p><i class="ph-file-search ph-bold ph-lg"></i>MeiliSearch</p>
|
||||
|
@ -33,7 +33,7 @@ function onStats(stats) {
|
|||
total_size = stats.meilisearch.size;
|
||||
index_count = stats.meilisearch.indexed_count;
|
||||
available = stats.meilisearch.health;
|
||||
progress = Math.floor((index_count / serverStats.notesCount) * 100);
|
||||
progress = (index_count / serverStats.notesCount);
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
@ -49,7 +49,8 @@ onBeforeUnmount(() => {
|
|||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.ms_stats {
|
||||
.verusivbr {
|
||||
display: flex;
|
||||
padding: 16px;
|
||||
|
||||
> .pie {
|
||||
|
@ -59,6 +60,8 @@ onBeforeUnmount(() => {
|
|||
}
|
||||
|
||||
> div {
|
||||
flex: 1;
|
||||
|
||||
> p {
|
||||
margin: 0;
|
||||
font-size: 0.8em;
|
||||
|
|
Loading…
Reference in New Issue