From 2aa99ee1375470306ad396e1060689998ebbbdef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Kube=C5=A1?= <46596180+KubesDavid@users.noreply.github.com> Date: Thu, 27 Oct 2022 21:35:39 +0200 Subject: [PATCH] fix: Fix timestamp auto-update in conversations chat list (#5640) * fix: Fix timestamp auto-update * fix: rewrite `setInterval` to `setTimeout` * fix: change refresh time logic Co-authored-by: Muhsin Keloth Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Pranav Raj S --- .../dashboard/components/ui/TimeAgo.vue | 63 ++++++++----------- 1 file changed, 25 insertions(+), 38 deletions(-) diff --git a/app/javascript/dashboard/components/ui/TimeAgo.vue b/app/javascript/dashboard/components/ui/TimeAgo.vue index c262a8aa0..c796ed0f6 100644 --- a/app/javascript/dashboard/components/ui/TimeAgo.vue +++ b/app/javascript/dashboard/components/ui/TimeAgo.vue @@ -1,17 +1,15 @@