Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix: LSDV-5355: Check before using column id in DM column creation
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartel committed Jun 29, 2023
1 parent 19f3a63 commit 65991f8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/stores/Tabs/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,12 @@ export const TabStore = types

const parentPath = result.join(".");

result.push(column.id);
if (isDefined(column?.id)) {
result.push(column.id);
} else {
console.warn("Column or id is not defined", column);
console.warn("Columns", columns);
}

const columnPath = result.join(".");

Expand Down

0 comments on commit 65991f8

Please sign in to comment.