Skip to content

Commit e733ae8

Browse files
authored
Merge pull request #2560 from akto-api-security/api_hit_count_tab_modifications
sort api call stats data
2 parents bdfd666 + 219da8d commit e733ae8

File tree

1 file changed

+1
-0
lines changed
  • apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/api_collections

1 file changed

+1
-0
lines changed

apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/api_collections/ApiDetails.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ function ApiDetails(props) {
256256
useEffect(() => {
257257
const { apiCollectionId, endpoint, method } = apiDetail;
258258
fetchStats(apiCollectionId,endpoint, method)
259+
setApiCallStats([]);
259260
},[startTime])
260261

261262
function displayGPT() {

0 commit comments

Comments
 (0)