Skip to content

Commit

Permalink
CB-5084 use columnIndex instead of plain
Browse files Browse the repository at this point in the history
  • Loading branch information
devnaumov committed Jul 8, 2024
1 parent 7e4411c commit 8fc68af
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,13 @@ export class ResultSetViewAction extends DatabaseDataAction<any, IDatabaseResult
return undefined;
}

return this.columns[key.index];
const index = this.columnIndex(key);

if (index === -1) {
return undefined;
}

return this.columns[index];
}

getColumnOperations(key: IResultSetColumnKey): DataTypeLogicalOperation[] {
Expand Down

0 comments on commit 8fc68af

Please sign in to comment.