File tree 2 files changed +2
-3
lines changed
apps/dashboard/web/src/apps/dashboard
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -254,8 +254,7 @@ export default {
254
254
let params = resp .endpoints
255
255
let total = resp .total
256
256
this .total = total
257
- let now = func .timeNow ()
258
- let listParams = params .filter (x => x .timestamp > now - func .recencyPeriod ).map (this .processParams )
257
+ let listParams = params .map (this .processParams )
259
258
let sortedParams = listParams .sort ((a , b ) => {
260
259
if (a .detectedTs > b .detectedTs + 3600 ) {
261
260
return - 1
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ export default {
365
365
refreshPage (hardRefresh ) {
366
366
if (hardRefresh || ((new Date () / 1000 ) - this .lastFetched > 60 * 5 )) {
367
367
this .$store .dispatch (' changes/fetchDataTypeNames' )
368
- api .fetchSubTypeCountMap (this . startTimestamp , this .endTimestamp ).then ((resp )=> {
368
+ api .fetchSubTypeCountMap (0 , this .endTimestamp ).then ((resp )=> {
369
369
this .subTypeCountMap = resp .response .subTypeCountMap
370
370
})
371
371
}
You can’t perform that action at this time.
0 commit comments