refactoring

This commit is contained in:
Philipp Kühn
2021-03-14 18:00:50 +01:00
parent baa5bcc964
commit 109bff0892
7 changed files with 30 additions and 96 deletions

View File

@@ -106,9 +106,7 @@ class VueNodeView implements NodeView {
}
get contentDOM() {
const hasContent = !this.node.type.isAtom
if (!hasContent) {
if (this.node.isLeaf) {
return null
}