Skip to content

Commit

Permalink
Merge pull request #161 from developmentseed/fix/project-aois-table
Browse files Browse the repository at this point in the history
Fix project exported AOIs table
  • Loading branch information
vgeorge authored Apr 29, 2024
2 parents b7e316e + 050fd96 commit c1ee7c8
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions app/assets/scripts/components/profile/project/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,17 +314,19 @@ function Project() {
<Heading size='small'>
{project ? 'Exported Maps' : 'Loading Project...'}
</Heading>
<Table
headers={AOI_HEADERS}
data={shares}
renderRow={RenderRow}
extraData={{
project,
restApiClient,
shares,
setShares,
}}
/>
{!isAoisLoading && (
<Table
headers={AOI_HEADERS}
data={shares}
renderRow={RenderRow}
extraData={{
project,
restApiClient,
shares,
setShares,
}}
/>
)}
<Paginator
currentPage={page}
setPage={setPage}
Expand Down

0 comments on commit c1ee7c8

Please sign in to comment.