summaryrefslogtreecommitdiff
path: root/iridescence/src/components/Navbar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'iridescence/src/components/Navbar.vue')
-rw-r--r--iridescence/src/components/Navbar.vue13
1 files changed, 3 insertions, 10 deletions
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 {