diff --git a/src/assets/language_level.json b/src/assets/language_level.json index 5b8b191..85fac6c 100644 --- a/src/assets/language_level.json +++ b/src/assets/language_level.json @@ -1,6 +1,6 @@ { "1": "Keine Angabe", - "2": "Grundkentnisse", + "2": "Grundkenntnisse", "3": "Gut", "4": "Fließend", "5": "Muttersprache" diff --git a/src/components/AutoComplete.vue b/src/components/AutoComplete.vue index c5f1316..1f73b9a 100644 --- a/src/components/AutoComplete.vue +++ b/src/components/AutoComplete.vue @@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later type="text" class="form-control form-control-sm" id="searchText" - maxlength="25" + :maxlength="maxlength" :placeholder="placeholder" v-model="searchText" @input="search()" @@ -99,7 +99,10 @@ export default { }; }, computed: { - ...mapState(['currentUserId']) + ...mapState(['currentUserId']), + maxlength() { + return this.type === 'skill' ? 50 : 25 + } }, methods: { addResult(result = false) { diff --git a/src/views/profile/View.vue b/src/views/profile/View.vue index 6ea4264..5ae341a 100644 --- a/src/views/profile/View.vue +++ b/src/views/profile/View.vue @@ -65,8 +65,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later nein - ({{ profile.availability_hours_per_week }} Stunden pro Woche) @@ -101,7 +101,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later {{ profile.freetext }}
-
Ehrentamtliche Arbeit
+
Ehrenamtliche Arbeit
{{ profile.volunteerwork }}