From b1c4bab1e2a0a2b8972080ca9371bcc8602ea4e9 Mon Sep 17 00:00:00 2001 From: AguzzTN54 Date: Wed, 30 Oct 2024 02:59:11 +0700 Subject: [PATCH] Fix Error on published Custom Banner --- src/routes/_allbanners/_item-banner.svelte | 1 - src/routes/_custom-banner/BannerEditor/BannerArt.svelte | 2 +- src/routes/_custom-banner/ModalDelete.svelte | 7 +------ src/routes/_custom-banner/ModalInitBanner.svelte | 2 +- src/routes/_custom-banner/SplashArtEditor/SplashArt.svelte | 3 ++- src/routes/_gachainfo/details/_promotional-v1.svelte | 2 +- src/routes/_gachainfo/details/_promotional-v2.svelte | 1 - src/routes/_inventory/_inventory-detail.svelte | 1 + src/routes/_inventory/_inventory-item.svelte | 1 - src/routes/_wish/wish-result/_result-list-item.svelte | 2 +- src/routes/_wish/wish-result/_splash-art.svelte | 2 +- 11 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/routes/_allbanners/_item-banner.svelte b/src/routes/_allbanners/_item-banner.svelte index 188493d2..411b6840 100644 --- a/src/routes/_allbanners/_item-banner.svelte +++ b/src/routes/_allbanners/_item-banner.svelte @@ -61,7 +61,6 @@ use:lazyLoad={imageCDN(images)} data-placeholder={$assets['placeholder-general.webp']} alt={character} - crossorigin="anonymous" loading="lazy" /> {:else} diff --git a/src/routes/_custom-banner/BannerEditor/BannerArt.svelte b/src/routes/_custom-banner/BannerEditor/BannerArt.svelte index 04d69167..8c24ef9e 100644 --- a/src/routes/_custom-banner/BannerEditor/BannerArt.svelte +++ b/src/routes/_custom-banner/BannerEditor/BannerArt.svelte @@ -96,7 +96,7 @@
- Uploaded Splash Art + Uploaded Splash Art
diff --git a/src/routes/_custom-banner/ModalDelete.svelte b/src/routes/_custom-banner/ModalDelete.svelte index 396483e5..f4ce7223 100644 --- a/src/routes/_custom-banner/ModalDelete.svelte +++ b/src/routes/_custom-banner/ModalDelete.svelte @@ -71,12 +71,7 @@ {/if} {#if thumbnail} - Delete this banner + Delete this banner {/if} {/if} diff --git a/src/routes/_custom-banner/ModalInitBanner.svelte b/src/routes/_custom-banner/ModalInitBanner.svelte index 78957116..67930991 100644 --- a/src/routes/_custom-banner/ModalInitBanner.svelte +++ b/src/routes/_custom-banner/ModalInitBanner.svelte @@ -129,7 +129,7 @@ {/if} {#if thumbnail} - Banner Thumbnail + Banner Thumbnail {/if} {/if} diff --git a/src/routes/_custom-banner/SplashArtEditor/SplashArt.svelte b/src/routes/_custom-banner/SplashArtEditor/SplashArt.svelte index 079f1e6f..2fa9a81e 100644 --- a/src/routes/_custom-banner/SplashArtEditor/SplashArt.svelte +++ b/src/routes/_custom-banner/SplashArtEditor/SplashArt.svelte @@ -24,6 +24,7 @@ export let weaponType = ''; export let localName = ''; export let hideInfo = false; + export let isCustom = false; let mainArt; let clientHeight = 0; @@ -171,7 +172,7 @@ {localName movePos(position?.splashArt || {})} /> diff --git a/src/routes/_gachainfo/details/_promotional-v1.svelte b/src/routes/_gachainfo/details/_promotional-v1.svelte index 4bed7a87..52c56f22 100644 --- a/src/routes/_gachainfo/details/_promotional-v1.svelte +++ b/src/routes/_gachainfo/details/_promotional-v1.svelte @@ -30,7 +30,7 @@ {#if $isCustomBanner} {@const { images = {}, character = '' } = $customData || {}} - {character} + {character} {:else} {name} {:else} {localName} {:else if type === 'character'} diff --git a/src/routes/_wish/wish-result/_result-list-item.svelte b/src/routes/_wish/wish-result/_result-list-item.svelte index 47e682e3..619deeaf 100644 --- a/src/routes/_wish/wish-result/_result-list-item.svelte +++ b/src/routes/_wish/wish-result/_result-list-item.svelte @@ -44,7 +44,7 @@ {@const { artURL } = status === 'owned' ? images : hostedImages} {@const { wishCard = {} } = artPosition || {}}
- {name} + {name}
diff --git a/src/routes/_wish/wish-result/_splash-art.svelte b/src/routes/_wish/wish-result/_splash-art.svelte index 47ead55b..ba43be7b 100644 --- a/src/routes/_wish/wish-result/_splash-art.svelte +++ b/src/routes/_wish/wish-result/_splash-art.svelte @@ -22,7 +22,7 @@ {@const { artURL } = status === 'owned' ? images : hostedImages} {@const { splashArt = {} } = artPosition || {}}
- {name} + {name}