Skip to content

Commit

Permalink
fix bug found by Garrett
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Jan 3, 2020
1 parent d36963d commit 0d67f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as i18n from './translations';

export const DetectionEngineUserUnauthenticated = React.memo(() => (
<EmptyPage
actionPrimaryIcon="gear"
actionPrimaryIcon="documents"
actionPrimaryLabel={i18n.GO_TO_DOCUMENTATION}
actionPrimaryUrl={documentationLinks.siem}
actionPrimaryTarget="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const DetectionEngineContainer = React.memo<Props>(() => {
signalsIndex={signalIndexName}
/>
</Route>
{(isSignalIndexExists || isAuthenticated) && (
{isSignalIndexExists && isAuthenticated && (
<>
<Route exact path={`${detectionEnginePath}/rules`}>
<RulesComponent />
Expand Down

0 comments on commit 0d67f5c

Please sign in to comment.