Skip to content

Commit

Permalink
Refactored landing page logic.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Dec 9, 2022
1 parent 4d988e7 commit 5c57f84
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,7 @@ class DestinationsList extends React.Component {
/>
) : null}

{destinations.length === 0 ? (
<FullPageNotificationsInfoCallOut hasNotificationPlugin={hasNotificationPlugin} />
) : (
{isDestinationLoading || totalDestinations > 0 || isFilterApplied ? (
<div>
<EuiTitle size={'l'}>
<h3>Destinations (deprecated)</h3>
Expand Down Expand Up @@ -417,6 +415,8 @@ class DestinationsList extends React.Component {
/>
</ContentPanel>
</div>
) : (
<FullPageNotificationsInfoCallOut hasNotificationPlugin={hasNotificationPlugin} />
)}
</React.Fragment>
);
Expand Down

0 comments on commit 5c57f84

Please sign in to comment.