Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Fix mobile marketplace detail actions https://github.com/siyuan-note/siyuan/issues/17151

Daniel8f53a95b9b0f
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index 188ced22df..652700de0f 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -1286,7 +1286,7 @@ type="checkbox">
<svg class="b3-list-item__graphic"><use xlink:href="#iconLeft"></use></svg>
<span class="b3-list-item__text ft__breakword">${navTitles[bazaarType]}</span>
</div>`;
- const readmeActionsHTML = `<div class="item__actions${isMobile() ? " item__actions--mobile" : ""}">
+ const readmeActionsHTML = `<div class="item__actions${isMobile() ? " item__actions--mobile" : ""}" data-from="${from}" data-name="${escapeAttr(displayData.name)}" data-package-type="${bazaarType}">
${bazaar._genReadmeActionsHTML(bazaarType, installed, available)}
${bazaar._genReadmeUpdateButtonHTML(available, bazaarType, Boolean(installed))}
</div>`;