Browse Source

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

Daniel 1 year ago
parent
commit
8287631078
1 changed files with 1 additions and 0 deletions
  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{{
 			Items: []*HistoryItem{{
 				Title: c.Name,
 				Title: c.Name,
 				Path:  filepath.Dir(filepath.Dir(historyNotebookConf)),
 				Path:  filepath.Dir(filepath.Dir(historyNotebookConf)),
+				Op:    HistoryOpDelete,
 			}},
 			}},
 		})
 		})
 	}
 	}