feat: rebuild page tree worker
This commit is contained in:
1 parent
2883437a0f
commit
38c33c58bb
10 files changed
+198
-119
No files matched your search
@@ -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