mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Plugin uninstall
This commit is contained in:
@@ -87,6 +87,9 @@ func UninstallBazaarPlugin(pluginName string) error {
|
||||
}
|
||||
}
|
||||
petals = tmp
|
||||
if 1 > len(petals) {
|
||||
petals = []*Petal{}
|
||||
}
|
||||
savePetals(petals)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user