fix: editor locale redirect + welcome page localization
This commit is contained in:
@@ -205,7 +205,7 @@ export default {
|
||||
})
|
||||
this.$store.set('editor/id', _.get(resp, 'page.id'))
|
||||
this.$store.set('editor/mode', 'update')
|
||||
window.location.assign(`/${this.$store.get('page/path')}`)
|
||||
window.location.assign(`/${this.$store.get('page/locale')}/${this.$store.get('page/path')}`)
|
||||
} else {
|
||||
throw new Error(_.get(resp, 'responseResult.message'))
|
||||
}
|
||||
|
Reference in New Issue
Block a user