-
Hi, is there an example somewhere that can help to show how can I reset the timeago on click? Use case, I have notification that the API server is offline at "3 minutes ago". There is a button next to it that allow users to manually check the status. Unfortunately the time remains at "3 minutes ago". The following is my code:
|
Beta Was this translation helpful? Give feedback.
Answered by
hafiidz
Sep 25, 2022
Replies: 1 comment
-
Urgh, just after I submitted the question, and an idea came to mind, was considering to delete this but maybe somebody else might want similar info later. I manage to get it working as follows:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hafiidz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Urgh, just after I submitted the question, and an idea came to mind, was considering to delete this but maybe somebody else might want similar info later. I manage to get it working as follows: