From 204eed2e99693dd897a0a1353ac03226c73f5a64 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 4 May 2023 19:11:05 +0800 Subject: [PATCH] :sparkles: https://github.com/siyuan-note/siyuan/issues/8171 --- app/src/config/bazaar.ts | 2 ++ app/src/types/index.d.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index d24e1bb60..6a3788046 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -172,6 +172,7 @@ export const bazaar = { repoHash: item.repoHash, downloaded: false, }; + const fundingKey = Object.keys(item.fundingUrl)[0]; return `
@@ -183,6 +184,7 @@ export const bazaar = { ${item.downloads}
+ ${fundingKey ? `` : ""}
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index 93a535d2d..3231de8db 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -701,4 +701,5 @@ declare interface IBazaarItem { hInstallSize: string hInstallDate: string hUpdated: string + fundingUrl: IObject }