This commit is contained in:
Luca Haid
2025-05-05 12:08:57 +02:00
parent 1221c35650
commit a33a4e861b
2 changed files with 3 additions and 2 deletions
@@ -23,7 +23,8 @@ Vue.component('tt-resolver', {
const { data } = await axios.get(endpoint);
this.text = this.autocomplete ? data[0]?.text : data.name ?? data.title ?? data.text ?? '[E] Key not found';
if (this.reference === 'WarehouseArticle') this.text = `${data.articleNumber} | ${data.title}`;
else this.text = this.autocomplete ? data[0]?.text : data.name ?? data.title ?? data.text ?? '[E] Key not found';
this.loading = false;
}
});