Browse Source

fix order

EUGENIO SOUZA CARVALHO 5 years ago
parent
commit
092402ba93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/app/timeline/timeline.service.ts

+ 1 - 1
src/app/timeline/timeline.service.ts

@@ -105,7 +105,7 @@ export class ApiEventsService {
 
     // Ordena as transações pela data
     transactions.sort((t1, t2) => {
-      return (t1.time - t2.time);
+      return (t2.time - t1.time);
     });
 
     return transactions;