fix name of country
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
This commit is contained in:
@@ -32,6 +32,7 @@ class ProductsCompareController extends Controller
|
||||
$countries = [];
|
||||
}
|
||||
|
||||
$cHash = CountryCode::code_countryHash();
|
||||
if (is_array($codes) == false)
|
||||
$aCodes = [$codes['code']];
|
||||
else
|
||||
@@ -51,7 +52,8 @@ class ProductsCompareController extends Controller
|
||||
});
|
||||
Log::info("{products}", ["products" => $products]);
|
||||
return Inertia::render('IkeaRoot', [
|
||||
'products' => $products
|
||||
'products' => $products,
|
||||
'countryHash' => $cHash,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user