From 0d5c63ebee1b516583d66457c50edfd585b1a6f6 Mon Sep 17 00:00:00 2001 From: Jaroslav Drzik Date: Fri, 5 Apr 2024 18:53:46 +0200 Subject: [PATCH] Fixed width on search --- resources/js/Layouts/GuestLayout.vue | 2 +- resources/js/Pages/IkeaRoot.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/js/Layouts/GuestLayout.vue b/resources/js/Layouts/GuestLayout.vue index f6f96ec..82a0dca 100644 --- a/resources/js/Layouts/GuestLayout.vue +++ b/resources/js/Layouts/GuestLayout.vue @@ -92,7 +92,7 @@ const fetch_ccodes = async () => { if (v !== null) return { country: k, code: v }; }) .filter((n) => n); - console.log("ccodes=", ccodes.value); + console.log("ccodes=o", ccodes.value); } catch (e) { const response = await Swal.fire({ title: __("are you want to try again") + "?", diff --git a/resources/js/Pages/IkeaRoot.vue b/resources/js/Pages/IkeaRoot.vue index fe71958..8d6b99d 100644 --- a/resources/js/Pages/IkeaRoot.vue +++ b/resources/js/Pages/IkeaRoot.vue @@ -28,6 +28,7 @@ const screenHeight = ref(screen.height) const hover = ref(true); const hoverImage = ref(null); const selectedRow = ref(null); +const timestamp = ref(Date.now()); // const $matomo = inject('$matomo'); const sdropdown = ref([ @@ -339,6 +340,7 @@ const fetch_ccodes = async () => { const async_search = async () => { if (settingsStore.text.length < 2) return; + timestamp.value = Date.now(); try { let country = null; @@ -507,7 +509,7 @@ const selectedRowClassNameFunction = (item) => { settingsStore.settings["LAST_REFRESH_TIME"] }} -
+