mirror of
https://github.com/andrei0x309/yup-live-chrome-extension.git
synced 2024-10-26 16:00:56 +00:00
chore: changes for 1.1.4
This commit is contained in:
parent
047a87fde1
commit
b29265afe9
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user