FIX: "Sorry an error has occurred" was shown when flagging a post (#10948)
This commit is contained in:
parent
918d1d8363
commit
1ac010db3c
|
@ -245,7 +245,7 @@ export default Controller.extend(ModalFunctionality, {
|
||||||
postAction
|
postAction
|
||||||
.act(this.model, params)
|
.act(this.model, params)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
if (!opts.skipClose) {
|
if (!params.skipClose) {
|
||||||
this.send("closeModal");
|
this.send("closeModal");
|
||||||
}
|
}
|
||||||
if (params.message) {
|
if (params.message) {
|
||||||
|
|
Loading…
Reference in New Issue