wip
This commit is contained in:
parent
13d0b15fd9
commit
9df85d9580
@ -81,7 +81,7 @@ class Tree extends Component {
|
||||
})
|
||||
return html`
|
||||
<div id="tree">
|
||||
<div id="logo"><img src="/images/${_VERSION}/logo.svg" /></div>
|
||||
<div id="logo"><a href="/notes2"><img src="/images/${_VERSION}/logo.svg" /></a></div>
|
||||
${renderedTreeTrunk}
|
||||
</div>`
|
||||
}//}}}
|
||||
|
@ -12,6 +12,9 @@ import 'preact/devtools'
|
||||
import { NodeStore } from 'node_store'
|
||||
import { Notes2 } from "/js/{{ .VERSION }}/notes2.mjs"
|
||||
import { API } from 'api'
|
||||
import { Sync } from 'sync'
|
||||
|
||||
window.Sync = Sync
|
||||
|
||||
if (!API.hasAuthenticationToken()) {
|
||||
location.href = '/login'
|
||||
|
Loading…
Reference in New Issue
Block a user