Commit 240a17df authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'minor-fixes' into 'develop'

Minor fixes

See merge request funkwhale/funkwhale!361
parents b17ab1eb ec52aa04
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
resolve(self.tracks) resolve(self.tracks)
} else if (self.playlist) { } else if (self.playlist) {
let url = 'playlists/' + self.playlist.id + '/' let url = 'playlists/' + self.playlist.id + '/'
axios.get(url + 'tracks').then((response) => { axios.get(url + 'tracks/').then((response) => {
resolve(response.data.results.map(plt => { resolve(response.data.results.map(plt => {
return plt.track return plt.track
})) }))
......
...@@ -43,6 +43,10 @@ if (availableLanguages[store.state.ui.currentLanguage]) { ...@@ -43,6 +43,10 @@ if (availableLanguages[store.state.ui.currentLanguage]) {
Vue.use(GetTextPlugin, { Vue.use(GetTextPlugin, {
availableLanguages: availableLanguages, availableLanguages: availableLanguages,
defaultLanguage: defaultLanguage, defaultLanguage: defaultLanguage,
// cf https://github.com/Polyconseil/vue-gettext#configuration
// not recommended but this is fixing weird bugs with translation nodes
// not being updated when in v-if/v-else clauses
autoAddKeyAttributes: true,
languageVmMixin: { languageVmMixin: {
computed: { computed: {
currentKebabCase: function () { currentKebabCase: function () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment