Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/docusaurus/docs/releases/01-Release Next/release-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ tally result files in `velvet-generate-reports`.
It contains the value of some election metrics.

- Issue: [#8573](https://github.com/sequentech/meta/issues/8573)

## 🐞 Admin Portal > Electoral Logs > Timestamp filter does not work

Fix the filter by timestamp in the Admin Portal's UI.

- Issue: [#9995](https://github.com/sequentech/meta/issues/9995)
4 changes: 4 additions & 0 deletions packages/admin-portal/src/components/ElectoralLogList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,15 @@ export const ElectoralLogList: React.FC<ElectoralLogListProps> = ({
key={"statement_timestamp"}
source={"statement_timestamp"}
label={t("logsScreen.column.statement_timestamp")}
inputProps={{step: 1}}
parse={(value) => (value ? new Date(`${value}Z`).toISOString() : value)}
/>,
<TextInput
key={"statement_kind"}
source={"statement_kind"}
label={t("logsScreen.column.statement_kind")}
inputProps={{step: 1}}
parse={(value) => (value ? new Date(`${value}Z`).toISOString() : value)}
/>,
]

Expand Down
Loading