From 961d233dd5bafb3626289133185495fa3145220b Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 27 Apr 2023 13:31:46 +0100 Subject: [PATCH] Add proper support for channel handles --- src/components/ChannelPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index e33ef20b..dbbd2907 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -146,7 +146,7 @@ export default { }, async fetchChannel() { const url = this.$route.path.includes("@") - ? this.apiUrl() + "/c/" + this.$route.params.channelId + ? this.apiUrl() + "/@/" + this.$route.params.channelId : this.apiUrl() + "/" + this.$route.params.path + "/" + this.$route.params.channelId; return await this.fetchJson(url); },