fix(status): add language from status when redraft
This commit is contained in:
parent
8983edd1bb
commit
154885ca96
2 changed files with 4 additions and 1 deletions
|
@ -91,7 +91,7 @@ const deleteAndRedraft = async () => {
|
|||
await openPublishDialog('dialog', await getDraftFromStatus(status), true)
|
||||
|
||||
// Go to the new status, if the page is the old status
|
||||
if (lastPublishDialogStatus.value && route.matched.some(m => m.path === '/:server?/@:account/:status'))
|
||||
if (lastPublishDialogStatus.value && route.name === 'status')
|
||||
router.push(getStatusRoute(lastPublishDialogStatus.value))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue