diff --git a/resources/js/client-custom/windowLoader.js b/resources/js/client-custom/windowLoader.js index e27b910..ba5c463 100644 --- a/resources/js/client-custom/windowLoader.js +++ b/resources/js/client-custom/windowLoader.js @@ -46,7 +46,7 @@ window.addEventListener('load', function () { console.error('Error sending data:', error); }); } else { - console.log('Data was sent recently. Skipping this time.'); + // console.log('Data was sent recently. Skipping this time.'); } diff --git a/resources/js/client-vue/SearchableMultiSelect2.vue b/resources/js/client-vue/SearchableMultiSelect2.vue index 1b6abf1..c4f8248 100644 --- a/resources/js/client-vue/SearchableMultiSelect2.vue +++ b/resources/js/client-vue/SearchableMultiSelect2.vue @@ -17,7 +17,7 @@ {{ item[titleField] }} - {{ item[titleField][xlang] }} + {{ item[titleField]?.[xlang] ?? item[titleField] }} @@ -39,7 +39,7 @@ {{ item[titleField] }} - {{ item[titleField][xlang] }} + {{ item[titleField]?.[xlang] ?? item[titleField] }} diff --git a/resources/js/components/SearchableMultiSelect.vue b/resources/js/components/SearchableMultiSelect.vue index bd01689..bb868d9 100644 --- a/resources/js/components/SearchableMultiSelect.vue +++ b/resources/js/components/SearchableMultiSelect.vue @@ -17,7 +17,7 @@ {{ item[titleField] }} - {{ item[titleField][xlang] }} + {{ item[titleField]?.[xlang] ?? item[titleField] }} @@ -39,7 +39,7 @@ {{ item[titleField] }} - {{ item[titleField][xlang] }} + {{ item[titleField]?.[xlang] ?? item[titleField] }} diff --git a/resources/js/components/SearchableSelect.vue b/resources/js/components/SearchableSelect.vue index cfb8333..17173e2 100644 --- a/resources/js/components/SearchableSelect.vue +++ b/resources/js/components/SearchableSelect.vue @@ -16,7 +16,7 @@ {{ item[titleField] }} - {{ item[titleField][xlang] }} + {{ item[titleField]?.[xlang] ?? item[titleField] }} @@ -39,7 +39,7 @@ {{ item[titleField] }} - {{ item[titleField][xlang] }} + {{ item[titleField]?.[xlang] ?? item[titleField] }} diff --git a/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php b/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php index f681321..0193986 100644 --- a/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php +++ b/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php @@ -29,7 +29,7 @@