Skip to content

Commit

Permalink
Hot fix -- #1113
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Mar 27, 2024
1 parent c0b021d commit 2e04c0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/CognateAnalysisModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1623,13 +1623,16 @@ class CognateAnalysisModal extends React.Component {
t.toLowerCase() === "affix" ||
t.toLowerCase() === "аффикс" )) {
affix_flag = morphology || suggestions;
meaning_flag = morphology || suggestions;
}

/*
if (Object.values(field.translations).some(t =>
t.toLowerCase().includes("meaning") ||
t.toLowerCase().includes("значение"))) {
meaning_flag = morphology || suggestions;
}
*/
}

if (group_flag && text_flag && affix_flag && meaning_flag) {
Expand Down

0 comments on commit 2e04c0e

Please sign in to comment.