Skip to content

Commit 6b001c8

Browse files
Merge pull request #652 from akto-api-security/feature/ab_6
Feature/ab 6
2 parents 6eccc1c + e2215f7 commit 6b001c8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

apps/dashboard/web/src/apps/dashboard/shared/components/ServerTable.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ export default {
254254
let params = resp.endpoints
255255
let total = resp.total
256256
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)
259258
let sortedParams = listParams.sort((a, b) => {
260259
if (a.detectedTs > b.detectedTs + 3600) {
261260
return -1

apps/dashboard/web/src/apps/dashboard/views/observe/sensitive/SensitiveData.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export default {
365365
refreshPage(hardRefresh) {
366366
if (hardRefresh || ((new Date() / 1000) - this.lastFetched > 60*5)) {
367367
this.$store.dispatch('changes/fetchDataTypeNames')
368-
api.fetchSubTypeCountMap(this.startTimestamp, this.endTimestamp).then((resp)=> {
368+
api.fetchSubTypeCountMap(0, this.endTimestamp).then((resp)=> {
369369
this.subTypeCountMap = resp.response.subTypeCountMap
370370
})
371371
}

0 commit comments

Comments
 (0)