mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 23:50:13 +01:00
🎨 Don't load plugin when the user hasn't agreed to trust bazaar content yet Fix https://github.com/siyuan-note/siyuan/issues/9426
This commit is contained in:
parent
01b19ea2c8
commit
daa9ddfd50
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ func SetPetalEnabled(name string, enabled bool, frontend string) (ret *Petal, er
|
||||||
func LoadPetals(frontend string) (ret []*Petal) {
|
func LoadPetals(frontend string) (ret []*Petal) {
|
||||||
ret = []*Petal{}
|
ret = []*Petal{}
|
||||||
|
|
||||||
if Conf.Bazaar.PetalDisabled {
|
if Conf.Bazaar.PetalDisabled || !Conf.Bazaar.Trust {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue