mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🚨
This commit is contained in:
parent
1ac623ebb1
commit
d24f5ae3cf
8 changed files with 26 additions and 28 deletions
|
|
@ -637,7 +637,7 @@ export const bazaar = {
|
|||
} else if (type === "plugin-enable") {
|
||||
const itemElement = hasClosestByClassName(target, "b3-card");
|
||||
if (itemElement) {
|
||||
const enabled = (target as HTMLInputElement).checked
|
||||
const enabled = (target as HTMLInputElement).checked;
|
||||
fetchPost("/api/petal/setPetalEnabled", {
|
||||
packageName: dataObj.name,
|
||||
enabled,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue