Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix history date range --> until today by default #2844

Merged
merged 3 commits into from
Dec 7, 2022

Conversation

Kadrian
Copy link
Collaborator

@Kadrian Kadrian commented Dec 6, 2022

No description provided.

@Kadrian Kadrian requested a review from awildturtok December 6, 2022 14:07
@@ -398,7 +399,7 @@ export const useGetEntityHistory = () => {
max: string; // Format like "2020-12-31"
} = {
min: "2015-01-01",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't have to send a min, is probably safer than wondering why entries are missing

Copy link
Collaborator Author

@Kadrian Kadrian Dec 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is max optional as well? Is the entire time object optional?

Copy link
Collaborator

@awildturtok awildturtok Dec 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes to both

@awildturtok awildturtok self-requested a review December 7, 2022 09:28
@Kadrian Kadrian merged commit 5852015 into develop Dec 7, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix-history-date-range branch December 7, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants