Skip to content

Commit

Permalink
Return if Fields list is empty (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBladon authored Aug 11, 2023
1 parent 01f128e commit 8776f55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private void RefreshTable()
{
var presenter = GetTemplateChild(TableAreaContentName) as ContentPresenter;
if (presenter is null) return;
if (Element is null)
if (Element is null || !Element.Fields.Any())
{
presenter.Content = null;
return;
Expand Down

0 comments on commit 8776f55

Please sign in to comment.