Skip to content

Commit

Permalink
Merge pull request #28 from ut-issl/hotfix/fix_check_value
Browse files Browse the repository at this point in the history
[hotfix] SECONDARY_OBCでのcheck_valueのロジックのバグ修正
  • Loading branch information
TomokiMochizuki authored Aug 14, 2023
2 parents 66a654c + 1e93971 commit 6ed9efb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const PlanTabPanel = (props: PlanTabPanelProps) => {
try {
tlms = latestTelemetries[variableNameSplitList[0]][variableNameSplitList[1]];
} catch (e) {
tlmCmdConfigIndex = tlmCmdConfig.findIndex(index => index.compoName.includes(variableNameSplitList[0]));
tlmCmdConfigIndex = tlmCmdConfig.findIndex(index => (latestTelemetries[index.compoName] != undefined && latestTelemetries[index.compoName][variableNameSplitList[0]] != undefined));
if (tlmCmdConfigIndex != -1) {
tlms = latestTelemetries[tlmCmdConfig[tlmCmdConfigIndex].compoName][variableNameSplitList[0]];
} else {
Expand Down

0 comments on commit 6ed9efb

Please sign in to comment.