Closed leomp12 closed 5 years ago
Send cuncurrent GET to grids.json, save the results globally and create all instances only after that. Create methods for getting grid name by id and edit spec value method to also uses global grids data.
grids.json
https://github.com/ecomclub/storefront-renderer/commit/e5bbdebf33cea073f947a8cd3871765c5afeafd3 https://github.com/ecomclub/storefront-renderer/commit/247c4ecf53b5fc047dddbfbd1dfd1ade9837157e
Send cuncurrent GET to
grids.json
, save the results globally and create all instances only after that. Create methods for getting grid name by id and edit spec value method to also uses global grids data.