Skip to content

Commit

Permalink
getting language_id
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Sep 29, 2024
1 parent 0186f93 commit d86b2fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CognateAnalysisModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ class CognateAnalysisModal extends React.Component {

if (this.state.perspectiveSelectionMap[p_key]) {
perspectiveInfoList.push([
language.id,
language.__typename === "Language" ? language.id : this.baseLanguageId,
perspective.id,
this.fieldDict[this.state.transcriptionFieldIdStrMap[p_key]].id,
this.fieldDict[this.state.translationFieldIdStrMap[p_key]].id,
Expand All @@ -2144,7 +2144,7 @@ class CognateAnalysisModal extends React.Component {
perspectiveInfoList = this.perspective_list

.map(({ perspective, treePathList: [language,,] }, index) => [
language.id,
language.__typename === "Language" ? language.id : this.baseLanguageId,
perspective.id,
this.fieldDict[this.state.transcriptionFieldIdStrList[index]].id,
this.fieldDict[this.state.translationFieldIdStrList[index]].id,
Expand Down

0 comments on commit d86b2fe

Please sign in to comment.