Fixing id detection for snippets and database page selection.
This commit is contained in:
parent
dd63f2f23e
commit
00112aadeb
@ -25,7 +25,8 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree [
|
||||
snippets do: [ :snippet | page addSnippet: snippet ].
|
||||
page children collect: [ :snippet |
|
||||
(self hasBlockUID: (snippet uid))
|
||||
ifTrue: [ ^ snippet page ]
|
||||
ifTrue: [ ^ self pages detect: [ :pageTemp |
|
||||
pageTemp includesSnippetUid: snippet uid ] ]
|
||||
ifFalse: [
|
||||
snippet database: self.
|
||||
self registerSnippet: snippet ] ].
|
||||
|
Loading…
Reference in New Issue
Block a user