Skip to content

Commit

Permalink
Removing type field (elastic#138676)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-buttner authored and Mpdreamz committed Sep 6, 2022
1 parent 51977a2 commit 99acf62
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ import {
CommentRequestPersistableStateType,
} from '../../../common/api';
import { Case } from '../../containers/types';
import { SupportedUserActionTypes } from '../../components/user_actions/types';

export interface AttachmentViewObject<Props = {}> {
type?: SupportedUserActionTypes;
timelineAvatar?: EuiCommentProps['timelineAvatar'];
actions?: EuiCommentProps['actions'];
event?: EuiCommentProps['event'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export const createRegisteredAttachmentUserActionBuilder = <
fullName={comment.createdBy.fullName}
/>
),
type: attachmentViewObject.type,
className: `comment-${comment.type}-attachment-${attachmentTypeId}`,
event: attachmentViewObject.event,
'data-test-subj': `comment-${comment.type}-${attachmentTypeId}`,
Expand Down

0 comments on commit 99acf62

Please sign in to comment.