changeset 2680:bd615f978164

sidebar: adding count as query parameter
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 15 Mar 2019 12:10:47 +0100
parents a3cab473304d
children 4d460b2b439f c4da269238a4
files client/src/components/Sidebar.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Fri Mar 15 12:06:04 2019 +0100
+++ b/client/src/components/Sidebar.vue	Fri Mar 15 12:10:47 2019 +0100
@@ -204,7 +204,7 @@
     updateIndicators() {
       if (this.isWaterwayAdmin) {
         this.$store;
-        HTTP.get("/imports?states=pending", {
+        HTTP.get("/imports?states=pending&count=true", {
           headers: { "X-Gemma-Auth": localStorage.getItem("token") }
         })
           .then(response => {