Regriession fix for title update causing trouble for content edit.
This commit is contained in:
parent
4c513a5106
commit
5a67c638c6
1 changed files with 4 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ export class N2NodeUI extends CustomHTMLElement {
|
|||
_mbus.subscribe('NODE_MODIFIED', () => {
|
||||
document.querySelector('#crumbs .crumbs')?.classList.add('node-modified')
|
||||
this.elIconSave.src = `/images/${_VERSION}/icon_save.svg`
|
||||
this.render()
|
||||
this.renderName()
|
||||
})
|
||||
|
||||
_mbus.subscribe('NODE_UNMODIFIED', () => {
|
||||
|
|
@ -76,6 +76,9 @@ export class N2NodeUI extends CustomHTMLElement {
|
|||
|
||||
this.showMarkdown(true)
|
||||
}// }}}
|
||||
renderName() {// {{{
|
||||
this.elName.innerText = this.node?.get('Name') ?? ''
|
||||
}// }}}
|
||||
render() {// {{{
|
||||
this.elName.innerText = this.node?.get('Name') ?? ''
|
||||
this.elNodeContent.value = this.node?.get('Content') ?? ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue