Remove call to undefined method handleErrors (#94)

This commit is contained in:
Wadim Kalmykov 2020-09-24 22:30:10 +07:00 committed by GitHub
parent 6b83c71e33
commit 75db6b4878

View File

@ -122,12 +122,11 @@ export default class EditTagModal extends Modal {
this.loading = true;
// Errors aren't passed to the modal onerror handler here.
// This is done for better error visibility on smaller screen heights.
this.tag.save(this.submitData()).then(
() => this.hide(),
response => {
this.loading = false;
this.handleErrors(response);
}
() => this.loading = false
);
}