From 7be9c381d84b19719838743661dd7546012c6046 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Tue, 4 Sep 2018 00:12:47 +0530 Subject: [PATCH] fix: Revert skeleton in Sidebar - sidebar items repeating for some reason --- erpnext/public/js/hub/Sidebar.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/erpnext/public/js/hub/Sidebar.vue b/erpnext/public/js/hub/Sidebar.vue index be2b749b81..ef3510d79a 100644 --- a/erpnext/public/js/hub/Sidebar.vue +++ b/erpnext/public/js/hub/Sidebar.vue @@ -9,10 +9,7 @@
  • {{ __('Categories') }}
  • -
  • - Category -
  • -
  • +
  • {{ category.label }}
  • @@ -59,15 +56,12 @@ export default { condition: () => this.hub_registered }, ], - categories: [], - show_skeleton: true + categories: [] } }, created() { this.get_categories() .then(categories => { - this.show_skeleton = false; - this.categories = categories.map(c => { return { label: __(c.name),