Skip to content

Commit

Permalink
Removing type field (#138676)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-buttner authored Aug 15, 2022
1 parent fb409bd commit e86cc0c
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 e86cc0c

Please sign in to comment.