Commit dcbd9f23 authored by Tobinsk's avatar Tobinsk
Browse files

Clear edit_list if a match result in a network error

parent 31b036cd
Pipeline #8878 passed with stage
in 4 minutes and 34 seconds
......@@ -266,6 +266,10 @@ const concordance: Module<ConcordanceState, any> = {
throw Error(r.statusText);
}).catch((err) => {
// clear list
// hint: this will clear the proposal edit form
// throw error
const metagridError: MetagridError = {
title: "Network error",
message: 'Can\'t merge concordances.',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment