From 253dceb5591c5a39122f1439a721ce5b0b3fc97c Mon Sep 17 00:00:00 2001
From: "Adam T. Carpenter" <atc@53hor.net>
Date: Tue, 15 Sep 2020 17:24:00 -0400
Subject: added new product button, added search bar to admin view

---
 iridescence/src/components/ProductCard.vue | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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

diff --git a/iridescence/src/components/ProductCard.vue b/iridescence/src/components/ProductCard.vue
index 269e416..36c7be5 100644
--- a/iridescence/src/components/ProductCard.vue
+++ b/iridescence/src/components/ProductCard.vue
@@ -39,10 +39,8 @@ export default {
   },
   computed: {
     stock() {
-      if (this.quantity < 0) {
+      if (this.quantity == 0) {
         return "Made to order";
-      } else if (this.quantity == 0) {
-        return "Out of stock";
       } else {
         return [this.quantity, "in stock"].join(" ");
       }
-- 
cgit v1.2.3

