Add documentation

This commit is contained in:
2024-03-29 12:52:15 +01:00
parent 4aca08d89a
commit da6159861d
11 changed files with 67 additions and 15 deletions

View File

@@ -7,6 +7,7 @@ import {
computed,
nextTick,
watch,
inject,
} from "vue";
import Swal from "sweetalert2";
@@ -22,7 +23,6 @@ import searchimg from "@/assets/search-icon.svg";
import { settingsStore } from '../settingsStore.js';
import { FwbInput } from 'flowbite-vue';
const screenWidth = ref(screen.width)
const screenHeight = ref(screen.height)
const hover = ref(true);
@@ -390,8 +390,6 @@ onMounted(() => {
});
const showRow = async (item) => {
console.log("ITEM=", item);
this.$matomo.trackEvent('Product', 'search', 'text', settingsStore.text);
this.$matomo.trackEvent('Product', 'click', 'code', item.globalCode);
itemCode.value = item.code;
try {
@@ -400,6 +398,7 @@ const showRow = async (item) => {
countries: settingsStore.countries,
currency: settingsStore.currency,
online: settingsStore.online,
text: settingsStore.text,
});
products.value = response.data.products;