Skip to content

Commit

Permalink
frontend: add product modal - wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rkshaon committed Jul 23, 2024
1 parent b70174a commit d3102e5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
</template>

<script>
import { Modal } from 'bootstrap';
// import { mapActions } from 'vuex';
import { mapState, mapActions } from 'vuex';
import { useToast } from "vue-toastification";
Expand All @@ -67,10 +67,8 @@ export default {
},
methods: {
...mapActions('category', ['fetchCategories']),
// ...mapActions('category', ['addCategory']),
showAddProductModal() {
console.log(this.categoryList);
const modalElement = this.$refs.addProductModal;
if (modalElement) {
Expand Down

0 comments on commit d3102e5

Please sign in to comment.