This commit is contained in:
ThatOneCalculator 2023-07-01 22:35:38 -07:00
parent 9788fc0ce1
commit 4b410194c2
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 12 additions and 12 deletions

View File

@ -74,18 +74,18 @@
</div>
</div>
<div class="item _panel emojis">
<div class="icon">
<i class="ph-smiley ph-bold ph-xl"></i>
</div>
<div class="body">
<div class="value">
<MkNumber
:value="emojiCount"
style="margin-right: 0.5em"
/>
</div>
<div class="label">{{ i18n.ts.emojis }}</div>
<div class="icon">
<i class="ph-smiley ph-bold ph-xl"></i>
</div>
<div class="body">
<div class="value">
<MkNumber
:value="emojiCount"
style="margin-right: 0.5em"
/>
</div>
<div class="label">{{ i18n.ts.emojis }}</div>
</div>
</div>
<!-- TODO: Drive -->
</Transition>
@ -126,7 +126,7 @@ onMounted(async () => {
stats.originalNotesCount - chart.local.total[1];
});
os.apiGet("meta").then((meta) => {
os.api("meta", { detail: false }).then((meta) => {
emojiCount = meta.emojis.length;
});