Planungen android
All checks were successful
Deploy to production / deploy (push) Successful in 2m17s
All checks were successful
Deploy to production / deploy (push) Successful in 2m17s
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
import apiClient from '@/utils/axios.js';
|
||||
import { mapGetters } from 'vuex';
|
||||
import MessageboxWidget from '../../components/MessageboxWidget.vue';
|
||||
import { toTranslatedParamOptions } from '@/utils/paramValues.js';
|
||||
|
||||
export default {
|
||||
name: "AdminInterestsView",
|
||||
@@ -120,7 +121,7 @@ export default {
|
||||
const response = await apiClient.post('/api/settings/getparamvalues', {
|
||||
type: 'language'
|
||||
});
|
||||
this.languages = response.data.map(item => { return { value: item.id, captionTr: `settings.personal.language.${item.name}` } });
|
||||
this.languages = toTranslatedParamOptions(response.data, 'settings.personal.language');
|
||||
} catch (err) {
|
||||
console.error('Error loading languages:', err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user