Commit 13a4956a by Яков

add glossary

parent ed893023
{ {
"name": "react-ag-qeditor", "name": "react-ag-qeditor",
"version": "1.0.40", "version": "1.0.41",
"description": "WYSIWYG html editor", "description": "WYSIWYG html editor",
"author": "atma", "author": "atma",
"license": "MIT", "license": "MIT",
......
...@@ -146,7 +146,9 @@ const QEditor = ({ ...@@ -146,7 +146,9 @@ const QEditor = ({
} else if (response.data.state === "error") { } else if (response.data.state === "error") {
message.error('Ошибка'); message.error('Ошибка');
} }
setModalGlossaryIsOpen(false);
}).catch((reason)=>{ }).catch((reason)=>{
setModalGlossaryIsOpen(false);
message.error('Что-то пошло не так'); message.error('Что-то пошло не так');
}) })
} else { } else {
......
Markdown is supported
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