mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed flash of reply button when publishing a post (#21836)
ref DES-1027
This commit is contained in:
parent
75cece4da7
commit
b25f42fec6
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,7 @@ export default class PublishModalComponent extends Component {
|
|||
@action
|
||||
setCompleted() {
|
||||
this.emailErrorMessage = undefined;
|
||||
this.isConfirming = false;
|
||||
this.isComplete = true;
|
||||
|
||||
if (this.args.data.publishOptions.isScheduled) {
|
||||
|
@ -94,6 +95,8 @@ export default class PublishModalComponent extends Component {
|
|||
*saveTask() {
|
||||
try {
|
||||
yield this.args.data.saveTask.perform();
|
||||
|
||||
this.isConfirming = false;
|
||||
this.isComplete = true;
|
||||
} catch (e) {
|
||||
if (e?.name === 'EmailFailedError') {
|
||||
|
|
Loading…
Add table
Reference in a new issue