From 934bdeada7e766a7701d5da77429f7f5300ed385 Mon Sep 17 00:00:00 2001 From: Phillip Lang Martinez Date: Wed, 17 Aug 2022 01:10:08 +0300 Subject: [PATCH] added text when no sponsorships --- .../core/sponsorship-list/sponsorship-list.src.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/qortal-ui-plugins/plugins/core/sponsorship-list/sponsorship-list.src.js b/qortal-ui-plugins/plugins/core/sponsorship-list/sponsorship-list.src.js index 492a0782..3a3696d0 100644 --- a/qortal-ui-plugins/plugins/core/sponsorship-list/sponsorship-list.src.js +++ b/qortal-ui-plugins/plugins/core/sponsorship-list/sponsorship-list.src.js @@ -441,6 +441,13 @@ class SponsorshipList extends LitElement {
+ ${this.sponsorships.length === 0 ? html` +
+

${translate("sponsorshipspage.schange9")}

+
+ ` : ''} + ${this.sponsorships.length > 0 ? + html`

${translate("sponsorshipspage.schange1")}

@@ -460,7 +467,7 @@ class SponsorshipList extends LitElement {
- + ${this.sponsorships.map( (sponsorship) => html`