Skip to content

Commit

Permalink
fix language prop in preview component
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Coulson committed May 27, 2024
1 parent 9a92b73 commit fc7281a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/editor/preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default class StoryPreviewV extends Vue {
created(): void {
const uid = this.$route.params.uid as string;
const lang = this.$route.params.lang as string;
this.lang = this.$route.params.lang as string;
const JSZip = require('jszip');
const axios = require('axios').default;
Expand Down Expand Up @@ -114,7 +114,7 @@ export default class StoryPreviewV extends Vue {
rampConfig: rampConfigFolder
};
const filePath = `${uid}_${lang}.json`;
const filePath = `${uid}_${this.lang}.json`;
configZip
.file(filePath)
.async('string')
Expand Down

0 comments on commit fc7281a

Please sign in to comment.