Skip to content

Commit

Permalink
reorder chart inner config (#4746)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyiy authored Jun 14, 2021
1 parent 2aa1edc commit 040458f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ function HorizontalDefaultInsightDisplayConfig({
<TZIndicator style={{ float: 'left', fontSize: '0.75rem', marginRight: 16 }} placement="topRight" />
</span>
<div style={{ width: '100%', textAlign: 'right' }}>
{showComparePrevious[activeView] && <CompareFilter />}
{showChartFilter(activeView, featureFlags) && (
<ChartFilter
onChange={(display: DisplayType) => {
Expand Down Expand Up @@ -176,6 +175,8 @@ function HorizontalDefaultInsightDisplayConfig({
/>
</>
)}

{showComparePrevious[activeView] && <CompareFilter />}
</div>
</div>
)
Expand Down

0 comments on commit 040458f

Please sign in to comment.