Skip to content

Commit 49e0e7e

Browse files
author
Andrey Helldar
committed
Improved calculation of the number of filtered elements
1 parent f83a45f commit 49e0e7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/views/routes.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
itemsPerPageText: trans('itemsPerPageText'),
9191
pageText: trans('pageText')
9292
}"
93+
ref="routes"
9394
multi-sort
9495
>
9596
<template v-slot:item.methods="{ item }">
@@ -293,7 +294,7 @@ class="link"
293294
}
294295
295296
let all = this.routes.length;
296-
let filtered = this.filteredRoutes.length;
297+
let filtered = this.$refs.routes.$children[0].filteredItems.length;
297298
298299
return all === filtered
299300
? all

0 commit comments

Comments
 (0)