Merge branch 'minor-fixes' into 'develop'
Minor fixes See merge request funkwhale/funkwhale!361
This commit is contained in:
commit
240a17dfca
|
@ -110,7 +110,7 @@ export default {
|
|||
resolve(self.tracks)
|
||||
} else if (self.playlist) {
|
||||
let url = 'playlists/' + self.playlist.id + '/'
|
||||
axios.get(url + 'tracks').then((response) => {
|
||||
axios.get(url + 'tracks/').then((response) => {
|
||||
resolve(response.data.results.map(plt => {
|
||||
return plt.track
|
||||
}))
|
||||
|
|
|
@ -43,6 +43,10 @@ if (availableLanguages[store.state.ui.currentLanguage]) {
|
|||
Vue.use(GetTextPlugin, {
|
||||
availableLanguages: availableLanguages,
|
||||
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: {
|
||||
computed: {
|
||||
currentKebabCase: function () {
|
||||
|
|
Loading…
Reference in New Issue