From 7381a7033231e6454a37fd64b1f3de4e8d59355f Mon Sep 17 00:00:00 2001
From: "Adam T. Carpenter" <atc@53hor.net>
Date: Wed, 11 Nov 2020 20:07:12 -0500
Subject: Kind of flailing with the UI; lots of API bugfixes though.

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

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

diff --git a/iridescence/src/components/Navbar.vue b/iridescence/src/components/Navbar.vue
index 0a66fa8..78627e9 100644
--- a/iridescence/src/components/Navbar.vue
+++ b/iridescence/src/components/Navbar.vue
@@ -36,14 +36,9 @@
         >
           <div
             class="navbar-end"
-            v-if="routeName == 'Administration'"
-            key="newProduct"
+            v-if="routeName != 'Administration'"
+            key="cartCheckout"
           >
-            <div class="navbar-item">
-              <NewProduct></NewProduct>
-            </div>
-          </div>
-          <div class="navbar-end" v-else key="cartCheckout">
             <div
               class="navbar-item has-dropdown is-active"
               v-for="category in categories.keys()"
@@ -74,13 +69,11 @@
 
 <script>
 import CartCheckout from "@/components/CartCheckout.vue";
-import NewProduct from "@/components/admin/NewProduct.vue";
 
 export default {
   name: "Navbar",
   components: {
-    CartCheckout,
-    NewProduct
+    CartCheckout
   },
   data() {
     return {
-- 
cgit v1.2.3

