Add proper support for channel handles

This commit is contained in:
Kavin 2023-04-27 13:31:46 +01:00
parent 323407d4d3
commit 961d233dd5

View File

@ -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);
},