This commit is contained in:
parent
562dadbf4a
commit
2a0a582d7b
|
@ -49,6 +49,7 @@ function wikiGraph(selector, options) {
|
|||
if (props.nodes.length) {
|
||||
let nodeId = props.nodes[0]
|
||||
let node = nodes.get(nodeId)
|
||||
// TODO: Reload directly in this same page
|
||||
window.location.href = '/edit/' + node.label
|
||||
}
|
||||
})
|
||||
|
|
4
main.go
4
main.go
|
@ -486,7 +486,7 @@ func getPageBase(repo PagesRepository, t time.Time) pageBaseInfo {
|
|||
pageBase := pageBaseInfo{
|
||||
BaseURL: clientID,
|
||||
RedirectURI: redirectURI,
|
||||
Days: prepareDays(mp, t),
|
||||
Days: prepareDays(repo, t),
|
||||
Month: t.Month().String(),
|
||||
Year: t.Year(),
|
||||
}
|
||||
|
@ -1177,7 +1177,7 @@ func main() {
|
|||
|
||||
// Keep a copy of the nodes, buildFromCenter appends to the nodeMap
|
||||
var nodes []string
|
||||
for k, _ := range gb.nodeMap {
|
||||
for k := range gb.nodeMap {
|
||||
nodes = append(nodes, k)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user