diff --git a/src/services/abstractService.js b/src/services/abstractService.js index 3af2359e..50a56d1c 100644 --- a/src/services/abstractService.js +++ b/src/services/abstractService.js @@ -338,6 +338,9 @@ export default class AbstractService { return this.modelGetAllFactory(entry) })) } + if(response.data === null) { + return Promise.resolve([]) + } return Promise.resolve(this.modelGetAllFactory(response.data)) }) .finally(() => {