Redraw old data after unsuccessful save

This commit is contained in:
Toby Zerner 2015-09-22 17:23:28 +09:30
parent 8e19312534
commit ab6e3351b4

View File

@ -171,6 +171,7 @@ export default class Model {
// old data! We'll revert to that and let others handle the error.
response => {
this.pushData(oldData);
m.lazyRedraw();
throw response;
}
);