From f6e7344018d24b61e152cf14ff750f086873ad6e Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:08:07 +0200 Subject: [PATCH] Minor performance improvements to the Hashtag view (#5927) --- src/renderer/views/Hashtag/Hashtag.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/views/Hashtag/Hashtag.js b/src/renderer/views/Hashtag/Hashtag.js index a5da3366e4b57..3bc62f9b5dc1e 100644 --- a/src/renderer/views/Hashtag/Hashtag.js +++ b/src/renderer/views/Hashtag/Hashtag.js @@ -43,13 +43,12 @@ export default defineComponent({ }, }, watch: { - $route() { + '$route.params.hashtag'() { this.resetData() this.getHashtag() } }, mounted: function() { - this.resetData() this.getHashtag() }, methods: {