mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
🚨
This commit is contained in:
parent
bbb1abb7c6
commit
af35b8ba57
17 changed files with 37 additions and 43 deletions
|
|
@ -309,11 +309,11 @@ export const bazaar = {
|
|||
if (["icons", "themes"].includes(bazaarType)) {
|
||||
showSwitch = true;
|
||||
}
|
||||
const counterElement = contentElement.parentElement.querySelector(".counter")
|
||||
const counterElement = contentElement.parentElement.querySelector(".counter");
|
||||
if (response.data.packages.length === 0) {
|
||||
counterElement.classList.add("fn__none")
|
||||
counterElement.classList.add("fn__none");
|
||||
} else {
|
||||
counterElement.classList.remove("fn__none")
|
||||
counterElement.classList.remove("fn__none");
|
||||
counterElement.textContent = response.data.packages.length;
|
||||
response.data.packages.forEach((item: IBazaarItem) => {
|
||||
const dataObj = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue