This commit is contained in:
mattyatea 2024-01-06 20:12:48 +09:00
parent 68aab48f4e
commit bc58540e62

View file

@ -1,5 +1,5 @@
<template>
<div class="_gaps_m">
<div class="_gaps_m">
<FormSection v-if="stats" first>
<template #label>{{ i18n.ts.statistics }}</template>
<MkKeyValue oneline style="margin: 1em 0;">
@ -83,20 +83,19 @@
<template #value>{{ bytes(stats.driveUsage) }}</template>
</MkKeyValue>
</FormSection>
</div>
</div>
</template>
<script lang="ts" setup>
import { onMounted, ref ,computed } from 'vue';
import { onMounted, ref, computed } from 'vue';
import FormSection from '@/components/form/section.vue';
import MkKeyValue from '@/components/MkKeyValue.vue';
import * as os from '@/os';
import number from '@/filters/number';
import bytes from '@/filters/bytes';
import { $i } from '@/account';
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
import { misskeyApi } from '@/scripts/misskey-api.js';
const stats = ref<any>({});