Skip to content

Commit

Permalink
[OSDEV-1120] Correct formatting of downloaded excel file of moderatio…
Browse files Browse the repository at this point in the history
…n events (#414)

[OSDEV-1120](https://opensupplyhub.atlassian.net/browse/OSDEV-1120) -
Moderation. New Moderation Queue Page that copied from Dashboard /
Facility Claims (FE).

In this PR was correct formatting of the downloaded excel file of
moderation events.

[OSDEV-1120]:
https://opensupplyhub.atlassian.net/browse/OSDEV-1120?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
mazursasha1990 authored Nov 22, 2024
1 parent 551fcf8 commit e2763df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/react/src/util/util.moderationEventsXLSX.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const xlsxHeaders = Object.freeze([
'Location Name',
'Country',
'Contributor',
'Match Status',
'Source Type',
'Moderation Status',
'Moderation Decision Date',
'Last Updated',
Expand All @@ -19,7 +19,7 @@ const formatModerationEventsDataForXLSX = moderationEvents =>
moderationEvent.name,
moderationEvent.country.name,
moderationEvent.contributor_name,
moderationEvent.match_status,
moderationEvent.source,
moderationEvent.moderation_status,
moderationEvent.moderation_decision_date !== null
? formatDate(
Expand Down

0 comments on commit e2763df

Please sign in to comment.