UX: Show message if rebake fails (#16925)
Previously, errors would only be displayed in the developer console.
This commit is contained in:
@@ -300,7 +300,9 @@ const Post = RestModel.extend({
|
||||
},
|
||||
|
||||
rebake() {
|
||||
return ajax(`/posts/${this.id}/rebake`, { type: "PUT" });
|
||||
return ajax(`/posts/${this.id}/rebake`, { type: "PUT" }).catch(
|
||||
popupAjaxError
|
||||
);
|
||||
},
|
||||
|
||||
unhide() {
|
||||
|
||||
Reference in New Issue
Block a user