From da43cd8d3be0e2d53d27d7cc924eb445a482abf3 Mon Sep 17 00:00:00 2001
From: "Adam T. Carpenter" <atc@53hor.net>
Date: Mon, 7 Dec 2020 22:07:36 -0500
Subject: cart finished for initial release, fixed annoying footer

---
 iridescence/src/components/CartCheckout.vue | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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

diff --git a/iridescence/src/components/CartCheckout.vue b/iridescence/src/components/CartCheckout.vue
index cde78d9..590e5b9 100644
--- a/iridescence/src/components/CartCheckout.vue
+++ b/iridescence/src/components/CartCheckout.vue
@@ -2,7 +2,7 @@
   <div id="cartCheckout">
     <div class="buttons has-addons">
       <router-link to="/cart" class="button is-primary is-rounded"
-        >🛒</router-link
+        >🛒 {{ checkoutReady }}</router-link
       >
       <button class="button is-static">x{{ inCart }}</button>
       <button class="button is-static is-rounded">
@@ -24,6 +24,13 @@ export default {
     },
     cartTotal() {
       return this.$store.getters.cartTotal;
+    },
+    checkoutReady() {
+      if (this.inCart) {
+        return "Checkout";
+      } else {
+        return "";
+      }
     }
   }
 };
-- 
cgit v1.2.3

