Skip to content

Commit

Permalink
[frontend] fix redirection to Content(#6628)
Browse files Browse the repository at this point in the history
  • Loading branch information
CelineSebe committed Apr 9, 2024
1 parent 9ccc098 commit 57dd4d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class RootNote extends Component {
<ContainerHeader
container={props.note}
PopoverComponent={<NotePopover note={note} />}
redirectToContent={false}
/>
</CollaborativeSecurity>
<Box
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ const ContainerHeader = (props) => {
<StixCoreObjectFileExport
id={container.id}
type={container.entity_type}
redirectToContent={true}
redirectToContent={!!redirectToContent}
/>
)}
{enableSuggestions && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class RootObservedData extends Component {
<ContainerHeader
container={observedData}
PopoverComponent={<ObservedDataPopover />}
redirectToContent = {false}
/>
<Box
sx={{
Expand Down

0 comments on commit 57dd4d9

Please sign in to comment.