Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. getStorageWarents() {
  2.  
  3.  
  4.  
  5. this.storage.ready()
  6. .then(() => {
  7. this.warrentsInStorage = JSON.parse(localStorage.getItem('__mydb/_ionickv/DodNalog'));
  8. console.log("Warrents in storage: ", this.warrentsInStorage);
  9.  
  10. })
  11. .then(() => {
  12. this.getAssignedWarrents();
  13. })
  14. .then(() => {
  15. this.getAllGoods();
  16. })
  17. .then(() => {
  18. this.getAllCancelTypes();
  19. })
  20. .then(() => {
  21. this.getAllDeviceTypes();
  22. })
  23. .then(() => {
  24. this.getAllManufacturers();
  25. })
  26. .then(() => {
  27. this.getAllIntereventionTypes();
  28. })
  29.  
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement