Remove daily_notes -> date, and * -> done edges
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b14542a01f
commit
0e7d908e2f
6
main.go
6
main.go
|
@ -513,8 +513,14 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
edgeSet := make(map[Edge]bool)
|
||||
for key, references := range refs {
|
||||
if key == "DONE" {
|
||||
continue
|
||||
}
|
||||
if toID, e := nodeMap[key]; e {
|
||||
for _, item := range references {
|
||||
if item.Name == "Daily_Notes" && strings.HasSuffix(key, "_2020") {
|
||||
continue
|
||||
}
|
||||
if fromID, e := nodeMap[item.Name]; e {
|
||||
if fromID == toID {
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user