Offline first
This commit is contained in:
parent
84181858c8
commit
f37ebc1c41
4 changed files with 81 additions and 16 deletions
|
|
@ -85,7 +85,7 @@ export class N2NodeUI extends CustomHTMLElement {
|
|||
// No point in showing markdown if there is no data.
|
||||
// If there is no data, it will show a blank page regardless, and the user will most
|
||||
// likely want to edit content, which can't be done in markdown.
|
||||
const show = this.node.content().trim() !== '' && state
|
||||
const show = this.node?.content().trim() !== '' && state
|
||||
|
||||
switch (show) {
|
||||
case true:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue