diff --git a/src/assets/global.scss b/src/assets/global.scss index 204a732..501ca6f 100644 --- a/src/assets/global.scss +++ b/src/assets/global.scss @@ -10,3 +10,7 @@ .btn-primary { color: #fff !important; } + +.search-card{ + height: 100%; +} diff --git a/src/mixins/request.mixin.js b/src/mixins/request.mixin.js index ea042c3..38f2fd0 100644 --- a/src/mixins/request.mixin.js +++ b/src/mixins/request.mixin.js @@ -92,11 +92,12 @@ export default { async submitFormEdit() { this.showErrorMessage = false this.showSuccessMessage = false + const userId = store.state.currentUserId try { const body = JSON.stringify(this.profile) const response = await fetch( - `${this.apiUrl}/users/${store.currentUserId}/profile`, + `${this.apiUrl}/users/${userId}/profile`, { method: 'POST', headers: { diff --git a/src/views/Search.vue b/src/views/Search.vue index 20f2173..2799436 100644 --- a/src/views/Search.vue +++ b/src/views/Search.vue @@ -46,17 +46,20 @@ SPDX-License-Identifier: AGPL-3.0-or-later class="text-decoration-none" :to="{ path: `/s/profile/${result.user_id}` }" > -
+
Fähigkeiten: - {{ skill.skill.name }} + + {{ skill.skill.name}},