diff --git a/src/index.js b/src/index.js index 85d6c0c..17949ed 100644 --- a/src/index.js +++ b/src/index.js @@ -48,14 +48,14 @@ function createEnvironmentTabs(environments) { ); this.classList.add("bg-blue-500", "text-white"); - renderListings(window.adminListings[this.dataset.env]); + renderListings(window.store.listings[this.dataset.env]); }); }); } function imageHtml(item) { if (!item.icon_url) { - item.icon_url = "/default.png" + item.icon_url = "/default.png"; } var iconHtml = '