Fix on refreshing description & images from products

This commit is contained in:
Ludovic CANDELLIER
2021-08-31 23:12:18 +02:00
parent 144532acbf
commit 73cfe5a42e
8 changed files with 40 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ class VarietyController extends Controller
public function getOptionsWithSpecie()
{
return response()->json(Varieties::getOptionsWithSpecie());
return response()->json(['0' => ''] + Varieties::getOptionsWithSpecie());
}
public function create()