[FIX] vocab items with no mistakes not hiding
This commit is contained in:
@@ -346,6 +346,7 @@ export default withRouter(class GroupStats extends Component {
|
||||
<div className="mistakes-history-container">
|
||||
{
|
||||
this.state.filteredIncorrectAnswers
|
||||
.filter((vocabItem) => vocabItem.answers && vocabItem.answers.length > 0)
|
||||
.map((vocabItem, index) => {
|
||||
const sortedAnswers = vocabItem.answers
|
||||
.sort((a, b) => {
|
||||
|
||||
Reference in New Issue
Block a user