mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-25 19:08:49 +01:00
🎨 Plugin uninstall
This commit is contained in:
parent
439c1e6f8a
commit
73b980af69
1 changed files with 3 additions and 0 deletions
|
|
@ -87,6 +87,9 @@ func UninstallBazaarPlugin(pluginName string) error {
|
|||
}
|
||||
}
|
||||
petals = tmp
|
||||
if 1 > len(petals) {
|
||||
petals = []*Petal{}
|
||||
}
|
||||
savePetals(petals)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue