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