aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-13 14:30:11 -0700
committerFuwn <[email protected]>2023-09-13 14:30:30 -0700
commitd577e8a2e295e74ba2fd95a21866867e5ac1184e (patch)
tree8ff7b75ddb842e9f04731e038993049678e5e7a1 /src
parentrefactor(updates): rename formatters (diff)
downloaddue.moe-d577e8a2e295e74ba2fd95a21866867e5ac1184e.tar.xz
due.moe-d577e8a2e295e74ba2fd95a21866867e5ac1184e.zip
feat(updates): change loading style
Diffstat (limited to 'src')
-rw-r--r--src/routes/updates/+page.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/updates/+page.svelte b/src/routes/updates/+page.svelte
index 26af53bc..f357f63d 100644
--- a/src/routes/updates/+page.svelte
+++ b/src/routes/updates/+page.svelte
@@ -42,7 +42,7 @@
<details open>
<summary>
Manga
- <small style="opacity: 50%">{(mangaEndTime || 0) / 1000}s</small>
+ <small style="opacity: 50%">{mangaEndTime ? mangaEndTime / 1000 : '...'}s</small>
</summary>
<ul>
@@ -77,7 +77,7 @@
<details open>
<summary>
Light Novels
- <small style="opacity: 50%">{(novelEndTime || 0) / 1000}s</small>
+ <small style="opacity: 50%">{novelEndTime ? novelEndTime / 1000 : '...'}s</small>
</summary>
<ul>