diff --git a/src/components/UnreadActionIndicator.js b/src/components/UnreadActionIndicator.js index ccd3c8037884..b5124155b6be 100755 --- a/src/components/UnreadActionIndicator.js +++ b/src/components/UnreadActionIndicator.js @@ -5,11 +5,7 @@ import Text from './Text'; import withLocalize, {withLocalizePropTypes} from './withLocalize'; const UnreadActionIndicator = props => ( - + {props.translate('common.new')} diff --git a/src/libs/SelectionScraper/index.js b/src/libs/SelectionScraper/index.js index f5c108c79753..2d81d9f6ccf6 100644 --- a/src/libs/SelectionScraper/index.js +++ b/src/libs/SelectionScraper/index.js @@ -2,7 +2,6 @@ import render from 'dom-serializer'; import {parseDocument} from 'htmlparser2'; import _ from 'underscore'; import Str from 'expensify-common/lib/str'; -import styles from '../../styles/styles'; const elementsWillBeSkipped = ['html', 'body']; const tagAttribute = 'data-testid'; @@ -81,9 +80,6 @@ const getHTMLOfSelection = () => { } } - // Remove any element that isn't selectable to prevent copying unnecessary text/items - div.querySelectorAll(`div[style*="user-select: ${styles.userSelectNone.WebkitUserSelect}"]`).forEach(item => item.remove()); - return div.innerHTML; };