Fixed width on search

This commit is contained in:
2024-04-05 18:53:46 +02:00
parent 6e1807d678
commit 0d5c63ebee
2 changed files with 4 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ const fetch_ccodes = async () => {
if (v !== null) return { country: k, code: v }; if (v !== null) return { country: k, code: v };
}) })
.filter((n) => n); .filter((n) => n);
console.log("ccodes=", ccodes.value); console.log("ccodes=o", ccodes.value);
} catch (e) { } catch (e) {
const response = await Swal.fire({ const response = await Swal.fire({
title: __("are you want to try again") + "?", title: __("are you want to try again") + "?",

View File

@@ -28,6 +28,7 @@ const screenHeight = ref(screen.height)
const hover = ref(true); const hover = ref(true);
const hoverImage = ref(null); const hoverImage = ref(null);
const selectedRow = ref(null); const selectedRow = ref(null);
const timestamp = ref(Date.now());
// const $matomo = inject('$matomo'); // const $matomo = inject('$matomo');
const sdropdown = ref([ const sdropdown = ref([
@@ -339,6 +340,7 @@ const fetch_ccodes = async () => {
const async_search = async () => { const async_search = async () => {
if (settingsStore.text.length < 2) return; if (settingsStore.text.length < 2) return;
timestamp.value = Date.now();
try { try {
let country = null; let country = null;
@@ -507,7 +509,7 @@ const selectedRowClassNameFunction = (item) => {
settingsStore.settings["LAST_REFRESH_TIME"] }}</div> settingsStore.settings["LAST_REFRESH_TIME"] }}</div>
</div> </div>
</div> </div>
<div class=""> <div class="w-2/5">
<form @submit.prevent="submit"> <form @submit.prevent="submit">
<div> <div>
<div class="flex flex-col start-0"> <div class="flex flex-col start-0">