NixoGNexed / UI5-Learning

Demo-Project to learn some UI5
0 stars 0 forks source link

make api call on app initialization #3

Closed NixoGNexed closed 2 years ago

NixoGNexed commented 2 years ago

At the moment the api call is made when opening the list-view. Because of this, we can't access a detail view directly.

To solve this issue we have to make the api call in Component.js on init and add the model to our component and local storage.

NixoGNexed commented 2 years ago

Commit 5ed8f95

NixoGNexed commented 2 years ago

check refactor in 5ed8f953650d5f4f77940b199cf7ee473edbf4d9