|
@@ -10,7 +10,6 @@ import { formatNumber } from 'utils/number/format';
|
|
|
|
|
|
interface Props {
|
|
interface Props {
|
|
count: number;
|
|
count: number;
|
|
- ownCount: number;
|
|
|
|
clearSelection: () => void;
|
|
clearSelection: () => void;
|
|
downloadFilesHelper: () => void;
|
|
downloadFilesHelper: () => void;
|
|
}
|
|
}
|
|
@@ -18,7 +17,6 @@ interface Props {
|
|
const SelectedFileOptions = ({
|
|
const SelectedFileOptions = ({
|
|
downloadFilesHelper,
|
|
downloadFilesHelper,
|
|
count,
|
|
count,
|
|
- ownCount,
|
|
|
|
clearSelection,
|
|
clearSelection,
|
|
}: Props) => {
|
|
}: Props) => {
|
|
const { isMobile } = useContext(AppContext);
|
|
const { isMobile } = useContext(AppContext);
|
|
@@ -31,8 +29,6 @@ const SelectedFileOptions = ({
|
|
</IconButton>
|
|
</IconButton>
|
|
<Box ml={1.5}>
|
|
<Box ml={1.5}>
|
|
{formatNumber(count)} {t('SELECTED')}{' '}
|
|
{formatNumber(count)} {t('SELECTED')}{' '}
|
|
- {ownCount !== count &&
|
|
|
|
- `(${formatNumber(ownCount)} ${t('YOURS')})`}
|
|
|
|
</Box>
|
|
</Box>
|
|
</FluidContainer>
|
|
</FluidContainer>
|
|
<Stack spacing={2} direction="row" mr={2}>
|
|
<Stack spacing={2} direction="row" mr={2}>
|