WP assets fix
This commit is contained in:
parent
ec85573e39
commit
c744e9286e
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.25) stable; urgency=low
|
||||
hedera-web (1.406.26) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.25",
|
||||
"version": "1.406.26",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -37,7 +37,7 @@ function getWebpackAssets() {
|
|||
$jsFiles = [];
|
||||
|
||||
foreach ($wpAssets as $name => $asset)
|
||||
if ($name && property_exists($asset, 'js'))
|
||||
if (!empty($name) && property_exists($asset, 'js'))
|
||||
$jsFiles[] = $serverPath . $asset->js;
|
||||
|
||||
return $jsFiles;
|
||||
|
|
Loading…
Reference in New Issue