# HG changeset patch # User Thomas Junk # Date 1552905147 -3600 # Node ID 472f4c6a1ec020937f9e61c5241b81f2dc182218 # Parent 8279c044c04bb5d0eaedfa2f23052a805cf1b9c0 Sidebar: set count of pending imports correctly diff -r 8279c044c04b -r 472f4c6a1ec0 client/src/components/Sidebar.vue --- a/client/src/components/Sidebar.vue Mon Mar 18 11:28:43 2019 +0100 +++ b/client/src/components/Sidebar.vue Mon Mar 18 11:32:27 2019 +0100 @@ -208,8 +208,7 @@ headers: { "X-Gemma-Auth": localStorage.getItem("token") } }) .then(response => { - const { imports } = response.data; - this.stagingNotifications = imports.length; + this.stagingNotifications = response.data; }) .catch(error => { const { status, data } = error.response;