Better visual sync
This commit is contained in:
parent
40a68d6ad0
commit
d9c82868ab
6 changed files with 130 additions and 106 deletions
|
|
@ -54,7 +54,7 @@ export class NodeUI extends Component {
|
|||
${crumbDivs}
|
||||
</div>
|
||||
</div>
|
||||
<${SyncProgress} ref=${this.syncProgress} />
|
||||
<div id="sync-progress"></div>
|
||||
<div id="name">${node.get('Name')}</div>
|
||||
<${NodeContent} key=${node.UUID} node=${node} ref=${this.nodeContent} />
|
||||
<div id="blank"></div>
|
||||
|
|
@ -156,8 +156,12 @@ export class NodeUI extends Component {
|
|||
`
|
||||
}//}}}
|
||||
async componentDidMount() {//{{{
|
||||
console.log('hum')
|
||||
_notes2.current.goToNode(this.props.startNode.UUID, true)
|
||||
_notes2.current.tree.expandToTrunk(this.props.startNode)
|
||||
|
||||
const syncProgressEl = document.getElementById('#sync-progress')
|
||||
console.log(syncProgressEl)
|
||||
}//}}}
|
||||
setNode(node) {//{{{
|
||||
this.nodeModified.value = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue