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
|
# Change Log
|
||||||
|
|
||||||
|
## [Version 1.1.4]
|
||||||
|
|
||||||
|
- minor fix edge case of no notifications
|
||||||
|
|
||||||
## [Version 1.1.3]
|
## [Version 1.1.3]
|
||||||
|
|
||||||
- minor fix to prevent console error log on fetch failure
|
- minor fix to prevent console error log on fetch failure
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "yup live",
|
"name": "yup live",
|
||||||
"description": "Light extension helper for yup social platform.",
|
"description": "Light extension helper for yup social platform.",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"icons": {
|
"icons": {
|
||||||
"16": "src/assets/icons/yup_ext_16.png",
|
"16": "src/assets/icons/yup_ext_16.png",
|
||||||
|
@ -57,11 +57,11 @@ const changeNotifsType = async (t : string[] | null) => {
|
|||||||
|
|
||||||
{:then pastNotifs}
|
{:then pastNotifs}
|
||||||
{#if (pastNotifs.notifs ?? []).length > 0}
|
{#if (pastNotifs.notifs ?? []).length > 0}
|
||||||
{noNotifications = true}
|
{#each pastNotifs.notifs as notif}
|
||||||
{:else}
|
|
||||||
{#each pastNotifs.notifs as notif}
|
|
||||||
<Notification {notif} />
|
<Notification {notif} />
|
||||||
{/each}
|
{/each}
|
||||||
|
{:else}
|
||||||
|
{(noNotifications = true) && ''}
|
||||||
{/if}
|
{/if}
|
||||||
{/await}
|
{/await}
|
||||||
{:else}
|
{:else}
|
||||||
@ -76,9 +76,11 @@ const changeNotifsType = async (t : string[] | null) => {
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{#key noNotifications}
|
||||||
{#if noNotifications }
|
{#if noNotifications }
|
||||||
<div class="flex flex-col items-center justify-center h-full">
|
<div class="flex flex-col items-center justify-center h-full">
|
||||||
<p class="text-2xl font-semibold">No Notifications</p>
|
<p class="text-2xl font-semibold">No Notifications</p>
|
||||||
<p class="text-lg">You have no notifications</p>
|
<p class="text-lg">You have no notifications</p>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/key}
|
||||||
|
Loading…
Reference in New Issue
Block a user