fixed nested text on filtered textmode
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -225,7 +225,7 @@ var _Item = {
|
|||||||
'class' :`item${this.nested ? ' nested':''} ${this.dottype}`
|
'class' :`item${this.nested ? ' nested':''} ${this.dottype}`
|
||||||
},
|
},
|
||||||
// filter by type if active filter
|
// filter by type if active filter
|
||||||
!_dbs.active_type_filter || _dbs.active_type_filter == vn.attrs.dottype
|
!_dbs.active_type_filter || _dbs.active_type_filter == vn.attrs.dottype || vn.attrs.nested
|
||||||
? [
|
? [
|
||||||
// create title node (only if not nested)
|
// create title node (only if not nested)
|
||||||
!this.nested
|
!this.nested
|
||||||
@@ -295,7 +295,7 @@ var _Enonce = {
|
|||||||
// create title node (only if not nested)
|
// create title node (only if not nested)
|
||||||
? !vn.attrs.nested ? m("h2", {}, m.trust(markdown.renderInline(this.title))) : null
|
? !vn.attrs.nested ? m("h2", {}, m.trust(markdown.renderInline(this.title))) : null
|
||||||
: null,
|
: null,
|
||||||
!_dbs.active_type_filter || _dbs.active_type_filter == vn.attrs.dottype
|
!_dbs.active_type_filter || _dbs.active_type_filter == vn.attrs.dottype || vn.attrs.nested
|
||||||
// create text node
|
// create text node
|
||||||
? m(_Text, {'text':vn.attrs.text, 'id':vn.attrs.id, 'nested':vn.attrs.nested})
|
? m(_Text, {'text':vn.attrs.text, 'id':vn.attrs.id, 'nested':vn.attrs.nested})
|
||||||
: null,
|
: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user