Explorar o código

:art: Show operation type in the file history item list https://github.com/siyuan-note/siyuan/issues/10634

Daniel hai 1 ano
pai
achega
8287631078
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      kernel/model/history.go

+ 1 - 0
kernel/model/history.go

@@ -464,6 +464,7 @@ func GetNotebookHistory() (ret []*History, err error) {
 			Items: []*HistoryItem{{
 				Title: c.Name,
 				Path:  filepath.Dir(filepath.Dir(historyNotebookConf)),
+				Op:    HistoryOpDelete,
 			}},
 		})
 	}