Fixing page and snippets database registration for importing markdeep format pages.

This commit is contained in:
ruidajo 2022-10-03 17:50:44 -05:00
parent d35eedd172
commit d3efdf7238

View File

@ -23,6 +23,8 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree [
createEmail: (remoteMetadata at: 'creator');
editEmail: (remoteMetadata at: 'modifier').
snippets do: [ :snippet | page addSnippet: snippet ].
page children collect: [ :snippet | snippet database: self. self registerSnippet: snippet ].
self addPage: page.
^ page
]