mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🚨
This commit is contained in:
parent
1e04a4aa07
commit
ae7660f9ef
2 changed files with 11 additions and 9 deletions
|
|
@ -246,7 +246,7 @@ export const bazaar = {
|
|||
hasSetting = item.__proto__.hasOwnProperty("openSetting");
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
html += `<div data-obj='${JSON.stringify(dataObj)}' class="b3-card${item.current ? " b3-card--current" : ""}">
|
||||
<div class="b3-card__img"><img src="${item.iconURL}" onerror="this.src='${item.previewURLThumb}'"/></div>
|
||||
|
|
@ -606,10 +606,10 @@ export const bazaar = {
|
|||
} else if (type === "setting") {
|
||||
app.plugins.find((item: Plugin) => {
|
||||
if (item.name === dataObj.name) {
|
||||
item.openSetting()
|
||||
return true
|
||||
item.openSetting();
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue