From ba8c09f454feeadf4a1e97547a34151a81b389d5 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Fri, 23 Apr 2021 11:59:34 +0000 Subject: [PATCH] feat: show more button on share --- frontend/src/views/Share.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/Share.vue b/frontend/src/views/Share.vue index 584cb5ff..bad206ca 100644 --- a/frontend/src/views/Share.vue +++ b/frontend/src/views/Share.vue @@ -128,7 +128,11 @@ readOnly > -
+

+ {{ req.items.length - showLimit }}

@@ -192,14 +196,18 @@ export default { }, data: () => ({ error: null, - showLimit: 500, + showLimit: 100, password: "", attemptedPasswordLogin: false, hash: null, token: null, }), watch: { - $route: "fetchData", + $route: function () { + this.showLimit = 100; + + this.fetchData(); + }, }, created: async function () { const hash = this.$route.params.pathMatch.split("/")[0];