Skip to content

Commit

Permalink
fix(portal): bug with timestamp and buyer filters (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
KsiBart authored Nov 19, 2024
1 parent 58f98e7 commit 5b6dcbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const ActivityDiagrams = ({ envs }: Props) => {
</Form.Item>
<Form.Item name="buyer">
<Select
options={[{ value: "all", label: "All buyers" }]}
options={[{ value: undefined, label: "All buyers" }]}
placeholder="All buyers"
popupMatchSelectWidth={false}
size="middle"
Expand Down
2 changes: 1 addition & 1 deletion kraken-app/kraken-app-portal/src/utils/constants/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ export const recentXDays = (value?: number) => {
export const parseDateStartOrEnd = (date: string | undefined, type: "start" | "end") =>
date
? dayjs(date)[type === "start" ? "startOf" : "endOf"]("day").format(TIME_ZONE_FORMAT)
: getCurrentTimeWithZone();
: null;

0 comments on commit 5b6dcbb

Please sign in to comment.