summaryrefslogtreecommitdiff
path: root/iridescence/src/components/admin/NewProduct.vue
diff options
context:
space:
mode:
Diffstat (limited to 'iridescence/src/components/admin/NewProduct.vue')
-rw-r--r--iridescence/src/components/admin/NewProduct.vue14
1 files changed, 10 insertions, 4 deletions
diff --git a/iridescence/src/components/admin/NewProduct.vue b/iridescence/src/components/admin/NewProduct.vue
index b8d8dd2..5119031 100644
--- a/iridescence/src/components/admin/NewProduct.vue
+++ b/iridescence/src/components/admin/NewProduct.vue
@@ -3,15 +3,21 @@
<button class="button is-primary">
+ Add New
</button>
+ <NewProductModal v-if="modalEnabled"></NewProductModal>
</div>
</template>
<script>
+import NewProductModal from "./NewProductModal.vue";
export default {
name: "AddNewProduct",
- props: {},
- watch: {},
- computed: {},
- methods: {}
+ components: {
+ NewProductModal
+ },
+ data: function() {
+ return {
+ modalEnabled: true
+ };
+ }
};
</script>