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

Rules table texts #144

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Rules table texts #144

wants to merge 8 commits into from

Conversation

orouz
Copy link
Collaborator

@orouz orouz commented Feb 23, 2022

this PR address the issue below:

it includes code from #140 (which includes code from #121 )

Comment on lines +102 to +110
const lastModificationTime = useMemo(
() =>
rulesPageData.all_rules.slice().sort(
(a, b) =>
// TODO: updated_at isn't on SimpleSavedObject
new Date(a.updated_at!).getTime() - new Date(b.updated_at!).getTime()
)[0]?.updated_at,
[rulesPageData.all_rules]
);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this addition still doesn't really work yet

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.

1 participant