Skip to content

Commit

Permalink
[portal] Allow deprecated data downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanthiry committed Aug 6, 2024
1 parent 6fc54c7 commit 0969b44
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/js/portal/main/models/CartItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ export function addingToCartProhibition(
if(dobj.submTime.getTime() > Date.now())
return {allowCartAdd: false, uiMessage: "This data object is under moratorium"}

if (dobj.hasNextVersion)
return { allowCartAdd: false, uiMessage: "You should download the newest version" };

if (dobj.level === 0 && dobj.theme === themeUris.atmospheric)
return { allowCartAdd: false, uiMessage: "Raw atmospheric data are only available on request at the moment" };

Expand Down

0 comments on commit 0969b44

Please sign in to comment.