From c5280144de096c274f185fade287ccd63b954ceb Mon Sep 17 00:00:00 2001
From: "Adam T. Carpenter" <atc@53hor.net>
Date: Sun, 8 Nov 2020 21:26:34 -0500
Subject: fixed up product models and api calls, working on new product form

---
 iridescence/src/components/ProductList.vue | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

(limited to 'iridescence/src/components/ProductList.vue')

diff --git a/iridescence/src/components/ProductList.vue b/iridescence/src/components/ProductList.vue
index 537e802..bed37b3 100644
--- a/iridescence/src/components/ProductList.vue
+++ b/iridescence/src/components/ProductList.vue
@@ -3,10 +3,10 @@
     <div class="columns is-multiline is-variable is-7-desktop">
       <div
         class="column is-one-quarter"
-        v-for="item in products"
-        :key="item.id"
+        v-for="product in products"
+        :key="product.id"
       >
-        <ProductCard v-bind="item"></ProductCard>
+        <ProductCard v-bind="product"></ProductCard>
       </div>
     </div>
   </div>
@@ -20,15 +20,11 @@ export default {
   components: {
     ProductCard
   },
-  data() {
-    return {};
-  },
   computed: {
     products() {
       return this.$store.getters.products;
     }
   },
-  methods: {},
   created() {
     this.$store.dispatch("refreshProducts");
   }
-- 
cgit v1.2.3

