Commit 4760ec08 authored by isstuev's avatar isstuev

csv export limit

parent cdd896e4
...@@ -9,6 +9,7 @@ import type { ResourceName } from 'lib/api/resources'; ...@@ -9,6 +9,7 @@ import type { ResourceName } from 'lib/api/resources';
import useApiQuery from 'lib/api/useApiQuery'; import useApiQuery from 'lib/api/useApiQuery';
import { useAppContext } from 'lib/contexts/app'; import { useAppContext } from 'lib/contexts/app';
import useIsMobile from 'lib/hooks/useIsMobile'; import useIsMobile from 'lib/hooks/useIsMobile';
import { nbsp } from 'lib/html-entities';
import CsvExportForm from 'ui/csvExport/CsvExportForm'; import CsvExportForm from 'ui/csvExport/CsvExportForm';
import Address from 'ui/shared/address/Address'; import Address from 'ui/shared/address/Address';
import AddressIcon from 'ui/shared/address/AddressIcon'; import AddressIcon from 'ui/shared/address/AddressIcon';
...@@ -137,8 +138,10 @@ const CsvExport = () => { ...@@ -137,8 +138,10 @@ const CsvExport = () => {
<AddressIcon address={{ hash: addressHash, is_contract: true, implementation_name: null }}/> <AddressIcon address={{ hash: addressHash, is_contract: true, implementation_name: null }}/>
<AddressLink hash={ addressHash } type="address" ml={ 2 } truncation={ isMobile ? 'constant' : 'dynamic' }/> <AddressLink hash={ addressHash } type="address" ml={ 2 } truncation={ isMobile ? 'constant' : 'dynamic' }/>
</Address> </Address>
{ filterType && filterValue && <span> with applied filter by { filterType } ({ filterValue })</span> } <span>{ nbsp }</span>
<span> to CSV file</span> { filterType && filterValue && <span>with applied filter by { filterType } ({ filterValue }) </span> }
<span>to CSV file. </span>
<span>Exports are limited to the first 10K { EXPORT_TYPES[exportType].text }.</span>
</Flex> </Flex>
{ content } { content }
</Page> </Page>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment