From 3f4b0bfd6271fa6c05c008ff558bdfa1a75228bb Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Mon, 8 Oct 2018 07:13:53 +0530 Subject: [PATCH] Capitalize route links --- .../frappe/social/components/PostSidebar.vue | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/frappe/public/js/frappe/social/components/PostSidebar.vue b/frappe/public/js/frappe/social/components/PostSidebar.vue index bf2b0c40b6..24e6c54268 100644 --- a/frappe/public/js/frappe/social/components/PostSidebar.vue +++ b/frappe/public/js/frappe/social/components/PostSidebar.vue @@ -1,11 +1,22 @@ @@ -25,16 +36,18 @@ export default { frappe.set_route(route); }, set_frequently_visited_list() { - frappe.xcall('frappe.social.doctype.post.post.frequently_visited_links').then(data => { - this.frequently_visited_list = data; - }) + frappe.xcall('frappe.social.doctype.post.post.frequently_visited_links') + .then(data => { + this.frequently_visited_list = data; + }) } } }