mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +02:00
Redraw old data after unsuccessful save
This commit is contained in:
@@ -171,6 +171,7 @@ export default class Model {
|
|||||||
// old data! We'll revert to that and let others handle the error.
|
// old data! We'll revert to that and let others handle the error.
|
||||||
response => {
|
response => {
|
||||||
this.pushData(oldData);
|
this.pushData(oldData);
|
||||||
|
m.lazyRedraw();
|
||||||
throw response;
|
throw response;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user