feat: local disk import all action + v1 import content (#1100)
This commit is contained in:
@@ -366,7 +366,7 @@ module.exports = class Page extends Model {
|
||||
}
|
||||
|
||||
// -> Perform move?
|
||||
if (opts.locale !== page.localeCode || opts.path !== page.path) {
|
||||
if ((opts.locale && opts.locale !== page.localeCode) || (opts.path && opts.path !== page.path)) {
|
||||
await WIKI.models.pages.movePage({
|
||||
id: page.id,
|
||||
destinationLocale: opts.locale,
|
||||
|
Reference in New Issue
Block a user