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 @@ -65,3 +65,9 @@ Now tally view checks if it's an automatic ceremony based on only the keys cerem
Fixed an issue that prevented to search logs by username in the Admin portal.

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

## 🐞 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)
10 changes: 9 additions & 1 deletion packages/admin-portal/src/components/ElectoralLogList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,19 @@ export const ElectoralLogList: React.FC<ElectoralLogListProps> = ({
const filters: Array<ReactElement> = [
<TextInput key={"user_id"} source={"user_id"} label={t("logsScreen.column.user_id")} />,
<TextInput key={"username"} source={"username"} label={t("logsScreen.column.username")} />,
<DateTimeInput key={"created"} source={"created"} label={t("logsScreen.column.created")} />,
<DateTimeInput
key={"created"}
source={"created"}
label={t("logsScreen.column.created")}
inputProps={{step: 1}}
parse={(value) => (value ? new Date(`${value}Z`).toISOString() : value)}
/>,
<DateTimeInput
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"}
Expand Down
Loading