Skip to content

Commit d9df830

Browse files
committed
If column cannot be found, then it's not editable
Signed-off-by: worksofliam <[email protected]>
1 parent e393837 commit d9df830

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/views/results/html.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ export function generateScroller(basicSelect: string, isCL: boolean, withCancel?
120120
if (trWithColumn && trWithColumn.column) {
121121
const chosenColumn = trWithColumn.column;
122122
const chosenColumnDetail = updateTable.columns.find(col => col.name === chosenColumn);
123+
if (!chosenColumnDetail) return;
124+
123125
const parentRow = trWithColumn.parentElement;
124126
125127
const updateKeyColumns = updateTable.columns.filter(col => col.useInWhere);

0 commit comments

Comments
 (0)