Skip to content

Commit

Permalink
refactor: Remove embedded filter property (#19176)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshelge authored Nov 15, 2024
1 parent 01994b3 commit 6cb7971
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,4 @@ public class EmbeddedOptions implements Serializable {

/** Filter options. Applies to Superset. */
@JsonProperty private FilterOptions filters;

/** Show the filters panel. Applies to Superset. */
@JsonProperty private boolean showFilters;
}
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void setUp() {
new EmbeddedDashboard(
EmbeddedProvider.SUPERSET,
UUID_A,
new EmbeddedOptions(true, true, new FilterOptions(true, true), true)));
new EmbeddedOptions(true, true, new FilterOptions(true, true))));
}

@Test
Expand All @@ -193,7 +193,6 @@ void testSaveGet() {
assertNotNull(rdC.getEmbedded().getOptions());
assertTrue(rdC.getEmbedded().getOptions().isHideChartControls());
assertTrue(rdC.getEmbedded().getOptions().isHideChartControls());
assertTrue(rdC.getEmbedded().getOptions().isShowFilters());
}

@Test
Expand Down

0 comments on commit 6cb7971

Please sign in to comment.