mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
dev31
This commit is contained in:
parent
aaa2041d38
commit
31a593d45b
2 changed files with 7 additions and 4 deletions
|
@ -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 a new issue