mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed crashing transition when email only post is sent
refs https://github.com/TryGhost/Team/issues/954 - The transition values wever missing for new "sent" email status and caused a 500 error to be displayed even though it had nothing to do with server errors - There will be more tweaks to this in future iterations, this is a stop gap solution to have a working UI
This commit is contained in:
parent
b5d1d5918c
commit
49b47b7016
@ -67,17 +67,23 @@ const messageMap = {
|
||||
published: {
|
||||
published: 'Updated',
|
||||
draft: 'Saved',
|
||||
scheduled: 'Scheduled'
|
||||
scheduled: 'Scheduled',
|
||||
sent: 'Sent'
|
||||
},
|
||||
draft: {
|
||||
published: 'Published',
|
||||
draft: 'Saved',
|
||||
scheduled: 'Scheduled'
|
||||
scheduled: 'Scheduled',
|
||||
sent: 'Sent'
|
||||
},
|
||||
scheduled: {
|
||||
scheduled: 'Updated',
|
||||
draft: 'Unscheduled',
|
||||
published: 'Published'
|
||||
published: 'Published',
|
||||
sent: 'Sent'
|
||||
},
|
||||
sent: {
|
||||
sent: 'Sent'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user