Fixed issue #1287
This commit is contained in:
parent
2a36c6bd0e
commit
dd9ff1629d
|
|
@ -21,7 +21,5 @@ class EventServiceProvider extends ServiceProvider
|
|||
Event::listen('sales.shipment.save.after', 'Webkul\Admin\Listeners\Order@sendNewShipmentMail');
|
||||
|
||||
Event::listen('checkout.order.save.after', 'Webkul\Admin\Listeners\Order@updateProductInventory');
|
||||
|
||||
Event::listen('products.datagrid.sync', 'Webkul\Admin\Listeners\Product@sync');
|
||||
}
|
||||
}
|
||||
|
|
@ -224,7 +224,7 @@ class AttributeRepository extends Repository
|
|||
if ($attribute->options()->exists()) {
|
||||
array_push($trimmed, [
|
||||
'id' => $attribute->id,
|
||||
'name' => $attribute->name,
|
||||
'name' => $attribute->admin_name,
|
||||
'type' => $attribute->type,
|
||||
'code' => $attribute->code,
|
||||
'has_options' => true,
|
||||
|
|
@ -233,7 +233,7 @@ class AttributeRepository extends Repository
|
|||
} else {
|
||||
array_push($trimmed, [
|
||||
'id' => $attribute->id,
|
||||
'name' => $attribute->name,
|
||||
'name' => $attribute->admin_name,
|
||||
'type' => $attribute->type,
|
||||
'code' => $attribute->code,
|
||||
'has_options' => false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue