From 92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 12 Sep 2020 08:35:13 -0400 Subject: Moved testing products into api/dichroism; renamed inventory to products. --- iridescence/src/components/InventoryCard.vue | 55 -------------------------- iridescence/src/components/InventoryFilter.vue | 52 ------------------------ iridescence/src/components/InventoryList.vue | 33 ---------------- iridescence/src/components/InventorySearch.vue | 52 ------------------------ iridescence/src/components/Navbar.vue | 7 +--- iridescence/src/components/ProductCard.vue | 55 ++++++++++++++++++++++++++ iridescence/src/components/ProductFilter.vue | 52 ++++++++++++++++++++++++ iridescence/src/components/ProductList.vue | 36 +++++++++++++++++ iridescence/src/components/ProductSearch.vue | 52 ++++++++++++++++++++++++ 9 files changed, 197 insertions(+), 197 deletions(-) delete mode 100644 iridescence/src/components/InventoryCard.vue delete mode 100644 iridescence/src/components/InventoryFilter.vue delete mode 100644 iridescence/src/components/InventoryList.vue delete mode 100644 iridescence/src/components/InventorySearch.vue create mode 100644 iridescence/src/components/ProductCard.vue create mode 100644 iridescence/src/components/ProductFilter.vue create mode 100644 iridescence/src/components/ProductList.vue create mode 100644 iridescence/src/components/ProductSearch.vue (limited to 'iridescence/src/components') diff --git a/iridescence/src/components/InventoryCard.vue b/iridescence/src/components/InventoryCard.vue deleted file mode 100644 index 6bcc548..0000000 --- a/iridescence/src/components/InventoryCard.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - diff --git a/iridescence/src/components/InventoryFilter.vue b/iridescence/src/components/InventoryFilter.vue deleted file mode 100644 index 349b0f5..0000000 --- a/iridescence/src/components/InventoryFilter.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - diff --git a/iridescence/src/components/InventoryList.vue b/iridescence/src/components/InventoryList.vue deleted file mode 100644 index a4962cd..0000000 --- a/iridescence/src/components/InventoryList.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/iridescence/src/components/InventorySearch.vue b/iridescence/src/components/InventorySearch.vue deleted file mode 100644 index 6145246..0000000 --- a/iridescence/src/components/InventorySearch.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - diff --git a/iridescence/src/components/Navbar.vue b/iridescence/src/components/Navbar.vue index 65d5032..551ce5a 100644 --- a/iridescence/src/components/Navbar.vue +++ b/iridescence/src/components/Navbar.vue @@ -77,11 +77,8 @@ export default { } }, categories() { - const inventory = this.$store.getters.inventory; - console.log(inventory); - console.log(inventory.map(item => item.categories)); - - //console.log(cats); + const products = this.$store.getters.products; + console.log(products.map(item => item.categories)); return []; } }, diff --git a/iridescence/src/components/ProductCard.vue b/iridescence/src/components/ProductCard.vue new file mode 100644 index 0000000..269e416 --- /dev/null +++ b/iridescence/src/components/ProductCard.vue @@ -0,0 +1,55 @@ + + + diff --git a/iridescence/src/components/ProductFilter.vue b/iridescence/src/components/ProductFilter.vue new file mode 100644 index 0000000..6fdd461 --- /dev/null +++ b/iridescence/src/components/ProductFilter.vue @@ -0,0 +1,52 @@ + + + diff --git a/iridescence/src/components/ProductList.vue b/iridescence/src/components/ProductList.vue new file mode 100644 index 0000000..537e802 --- /dev/null +++ b/iridescence/src/components/ProductList.vue @@ -0,0 +1,36 @@ + + + diff --git a/iridescence/src/components/ProductSearch.vue b/iridescence/src/components/ProductSearch.vue new file mode 100644 index 0000000..d452e83 --- /dev/null +++ b/iridescence/src/components/ProductSearch.vue @@ -0,0 +1,52 @@ + + + -- cgit v1.2.3