Working on the hidde restore action if already a restauration is waiting.

This commit is contained in:
charles-gauthereau
2024-12-10 11:22:36 +01:00
parent ee8cc6137e
commit 5bd24574c3
12 changed files with 221 additions and 195 deletions
+1
View File
@@ -10,6 +10,7 @@ export function timeAgo(rawDate: string | number | Date) {
}
export function formatDateLastContact(lastContact: string | number | Date | null) {
console.log(lastContact)
return lastContact
? format(new Date(lastContact), 'dd/MM/yyyy HH:mm')
: "Never connected."