Skip to content

Commit

Permalink
[SIEM] hide the elastic avatar until multi user collab is supported (e…
Browse files Browse the repository at this point in the history
…lastic#38592)

hide the elastic avatar until multi user collab is supported
  • Loading branch information
stephmilovic authored Jun 11, 2019
1 parent 6650b26 commit 0c29860
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ const SettingsIcon = styled(EuiIcon)`
cursor: pointer;
`;

const HiddenFlexItem = styled(EuiFlexItem)`
display: none;
`;

interface Props {
associateNote: AssociateNote;
createTimeline: CreateTimeline;
Expand Down Expand Up @@ -299,14 +303,16 @@ export class Properties extends React.PureComponent<Props, State> {

{title != null && title.length
? usersViewing.map(user => (
<EuiFlexItem key={user}>
// Hide the hard-coded elastic user avatar as the 7.2 release does not implement
// support for multi-user-collaboration as proposed in elastic/ingest-dev#395
<HiddenFlexItem key={user}>
<EuiToolTip
data-test-subj="timeline-action-pin-tool-tip"
content={`${user} ${i18n.IS_VIEWING}`}
>
<Avatar data-test-subj="avatar" size="s" name={user} />
</EuiToolTip>
</EuiFlexItem>
</HiddenFlexItem>
))
: null}
</PropertiesRight>
Expand Down

0 comments on commit 0c29860

Please sign in to comment.