feat: rebuild page tree worker
This commit is contained in:
@@ -251,7 +251,7 @@ module.exports = class Page extends Model {
|
||||
})
|
||||
|
||||
// -> Save Tags
|
||||
if (opts.tags.length > 0) {
|
||||
if (opts.tags && opts.tags.length > 0) {
|
||||
await WIKI.models.tags.associateTags({ tags: opts.tags, page })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user