mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 Add plugin config items backends and frontends https://github.com/siyuan-note/siyuan/issues/8386
This commit is contained in:
parent
ec0682358f
commit
02b62eba65
10 changed files with 93 additions and 23 deletions
|
|
@ -44,5 +44,6 @@ func setPetalEnabled(c *gin.Context) {
|
|||
|
||||
packageName := arg["packageName"].(string)
|
||||
enabled := arg["enabled"].(bool)
|
||||
ret.Data = model.SetPetalEnabled(packageName, enabled)
|
||||
frontend := arg["frontend"].(string)
|
||||
ret.Data = model.SetPetalEnabled(packageName, enabled, frontend)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue