mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
RuleBuilder - Fix paired identifier casting issue.
This commit is contained in:
@@ -1490,7 +1490,10 @@ export default {
|
||||
identifierColumnIndex < numIdentifierColumns;
|
||||
identifierColumnIndex++
|
||||
) {
|
||||
let identifier = rowData[identifierColumns[identifierColumnIndex]];
|
||||
// typeof indicates identifier is a string, but the raw string value coming from this data
|
||||
// structure sometimes does not work as expected with indexOf below, I don't understand why
|
||||
// but as a result this cast here seems needed.
|
||||
let identifier = String(rowData[identifierColumns[identifierColumnIndex]]);
|
||||
if (identifierColumnIndex + 1 == numIdentifierColumns) {
|
||||
// At correct final position in nested structure for this dataset.
|
||||
if (collectionTypeAtDepth === "paired") {
|
||||
|
||||
Reference in New Issue
Block a user