[bug][templates] fix url decoding

This commit is contained in:
Avris 2020-11-03 23:32:57 +01:00
parent 2b484514df
commit 1f959ee3a2
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@
components: {LinkedText, GrammarTables }, components: {LinkedText, GrammarTables },
data() { data() {
const selectedTemplate = this.config.template.enabled const selectedTemplate = this.config.template.enabled
? buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, '')) ? buildTemplate(templates, decodeURIComponent(this.$route.path.substr(1).replace(/\/$/, '')))
: null; : null;
return { return {