Misc fixes (#9215)

* quick add assign tags

* fix columns descriptions

* fix changing language not taking effect immediately
This commit is contained in:
Matteo Pagliazzi
2017-10-17 23:38:42 +02:00
committed by GitHub
parent ad50f90ba0
commit c8625cb23f
2 changed files with 17 additions and 14 deletions

View File

@@ -280,7 +280,7 @@ export default {
} else {
settings[`preferences.${preferenceType}.${subtype}`] = this.user.preferences[preferenceType][subtype];
}
this.$store.dispatch('user:set', settings);
return this.$store.dispatch('user:set', settings);
},
hideHeader () {
this.set('hideHeader');
@@ -338,10 +338,10 @@ export default {
// @TODO
// Notification.text(response.data.data.message);
},
changeLanguage (e) {
async changeLanguage (e) {
const newLang = e.target.value;
this.user.preferences.language = newLang;
this.set('language');
await this.set('language');
window.location.href = '/';
},
async changeUser (attribute, updates) {