fix: export + import tags in storage events

This commit is contained in:
NGPixel
2019-10-27 15:56:39 -04:00
parent 692e5ca0bd
commit 28fdf14002
3 changed files with 8 additions and 3 deletions

View File

@@ -95,5 +95,7 @@ module.exports = class Tag extends Model {
if (tagsToUnrelate.length > 0) {
await page.$relatedQuery('tags').unrelate().whereIn('tags.id', _.map(tagsToUnrelate, 'id'))
}
page.tags = targetTags
}
}