diff --git a/src/views/picklist/PickListDoc.vue b/src/views/picklist/PickListDoc.vue index 1d3dc9859..4e4a425a7 100644 --- a/src/views/picklist/PickListDoc.vue +++ b/src/views/picklist/PickListDoc.vue @@ -220,9 +220,12 @@ import PickList from 'primevue/picklist'; @@ -248,7 +251,7 @@ export default { this.carService = new CarService(); }, mounted() { - this.carService.getCarsSmall().then(data => this.cars = data.slice(0,5)); + this.carService.getCarsSmall().then(data => this.cars = [data.slice(0,5),[]]); } }