Skip to content

Commit

Permalink
Improved calculation of the number of filtered elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Oct 20, 2020
1 parent f83a45f commit 49e0e7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/views/routes.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
itemsPerPageText: trans('itemsPerPageText'),
pageText: trans('pageText')
}"
ref="routes"
multi-sort
>
<template v-slot:item.methods="{ item }">
Expand Down Expand Up @@ -293,7 +294,7 @@ class="link"
}
let all = this.routes.length;
let filtered = this.filteredRoutes.length;
let filtered = this.$refs.routes.$children[0].filteredItems.length;
return all === filtered
? all
Expand Down

0 comments on commit 49e0e7e

Please sign in to comment.