Skip to content
Snippets Groups Projects
Commit 97908ca3 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Fix: Slot Migration

parent a62a62a6
Branches
Tags
1 merge request!164Chore: 4.0.2
......@@ -109,7 +109,11 @@ export default defineComponent({
},
},
beforeMount() {
if (this.languageCode === 'en' || this.languageCode === 'de') {
this.locale = this.languageCode;
} else {
this.locale = 'en';
}
},
mounted() {
this.loadData();
......
......@@ -14,7 +14,7 @@
@update:model-value="updateMetadataValue"
@search-change="triggerFetchOptions"
>
<template slot="afterList">
<template #afterList>
<div
v-if="selectableOptions.length && !allResultsLoaded"
v-observe-visibility="reachedEndOfList"
......@@ -125,7 +125,11 @@ export default defineComponent({
},
},
mounted() {
if (this.languageCode === 'en' || this.languageCode === 'de') {
this.locale = this.languageCode;
} else {
this.locale = 'en';
}
this.retrieveLabels();
this.loadData();
},
......
......@@ -118,7 +118,11 @@ export default defineComponent({
},
},
mounted() {
if (this.languageCode === 'en' || this.languageCode === 'de') {
this.locale = this.languageCode;
} else {
this.locale = 'en';
}
this.loadData();
},
methods: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment