teamPage: refactor to adapt BE change

Due to some refactoring of BE awards(hq-tech/backend!508 (merged)), teamPage needs to be properly updated to restore the display of teamAwards.

Current page:

image

Changes

  • ADD new endpoint and new type TeamAwardSimple
  • Overload current getAwardFullTitle method to adapt new type which changed prop-names
  • Change data ref of Awards component, and minor optimization of the original code

Merge request reports

Loading