Settings basics

This commit is contained in:
2024-01-26 21:19:49 +01:00
parent 5c6f2dd117
commit 17432fd705
4 changed files with 70 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ const sdropdown = ref([
const products = ref([]);
const searchField = ref('descLong');
const searchValue = ref('');
const settings = ref({});
const countryHash = ref([]);
const countryCurrency = ref({});
@@ -222,6 +223,9 @@ const fetch = async () => {
};
});
console.log("TEST=", ccountry_filter.value, ccountry_list.value);
const response2 = await axios.get(route("settings"));
settings.value = response2.data;
} catch (e) {
const response = await Swal.fire({
title: __("are you want to try again") + "?",