Skip to content

Commit

Permalink
Updated JoinTables assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
srodriguezinfragistics committed Oct 9, 2024
1 parent 60e6b35 commit 518255d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Reveal.Sdk.Dom/Visualizations/Visualization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ public void UpdateDataSourceItem(DataSourceItem dataSourceItem)
{
tdd.Fields = dataSourceItem.Fields.Clone();

if(tdd.DataSourceItem.JoinTables != null)
if(tdd.DataSourceItem.JoinTables != null && tdd.DataSourceItem.JoinTables.Count > 0)
{
tdd.JoinTables.AddRange(tdd.DataSourceItem.JoinTables.Clone());
tdd.JoinTables = tdd.DataSourceItem.JoinTables.Clone();
}
}
}
Expand Down

0 comments on commit 518255d

Please sign in to comment.