-
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user