mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
🐛 Pandoc is not initialized in some cases Fix https://github.com/siyuan-note/siyuan/issues/8533
This commit is contained in:
parent
e93c62e49f
commit
a515a4f992
7 changed files with 33 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
subscribeEvents()
|
||||
subscribeRepoEvents()
|
||||
}
|
||||
|
||||
type Snapshot struct {
|
||||
|
|
@ -1476,7 +1476,7 @@ func newRepository() (ret *dejavu.Repo, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func subscribeEvents() {
|
||||
func subscribeRepoEvents() {
|
||||
eventbus.Subscribe(eventbus.EvtIndexBeforeWalkData, func(context map[string]interface{}, path string) {
|
||||
msg := fmt.Sprintf(Conf.Language(158), path)
|
||||
util.SetBootDetails(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue