[Задача 12794] Исправил небольшой баг, когда сообщение о пустом списке ошибок не…

[Задача 12794] Исправил небольшой баг, когда сообщение о пустом списке ошибок не отображалась после обработки последней опечатки
parent de7c2674
......@@ -89,7 +89,7 @@ export default class TypoList extends Component {
console.log("Render typolist for site " + this.state.siteId);
if (typos.length === 0) {
if (typos.length === 0 || this.state.currentTypo >= typos.length) {
return TypoList._displayEmptyMessage();
}
......
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