chore: changes for `1.1.4`

This commit is contained in:
Andrei O 2023-10-13 16:22:56 +03:00
parent 047a87fde1
commit b29265afe9
No known key found for this signature in database
GPG Key ID: B961E5B68389457E
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,9 @@
# Change Log
## [Version 1.1.4]
- minor fix edge case of no notifications
## [Version 1.1.3]
- minor fix to prevent console error log on fetch failure

View File

@ -1,7 +1,7 @@
{
"name": "yup live",
"description": "Light extension helper for yup social platform.",
"version": "1.1.3",
"version": "1.1.4",
"manifest_version": 3,
"icons": {
"16": "src/assets/icons/yup_ext_16.png",

View File

@ -57,11 +57,11 @@ const changeNotifsType = async (t : string[] | null) => {
 
{:then pastNotifs}
{#if (pastNotifs.notifs ?? []).length > 0}
{noNotifications = true}
{:else}
{#each pastNotifs.notifs as notif}
{#each pastNotifs.notifs as notif}
<Notification {notif} />
{/each}
{:else}
{(noNotifications = true) && ''}
{/if}
{/await}
{:else}
@ -76,9 +76,11 @@ const changeNotifsType = async (t : string[] | null) => {
</div>
{/if}
{#key noNotifications}
{#if noNotifications }
<div class="flex flex-col items-center justify-center h-full">
<p class="text-2xl font-semibold">No Notifications</p>
<p class="text-lg">You have no notifications</p>
</div>
{/if}
{/key}