diff --git a/packages/Webkul/Admin/src/DataGrids/ProductDataGrid.php b/packages/Webkul/Admin/src/DataGrids/ProductDataGrid.php index a3262a8b6..790e051d9 100644 --- a/packages/Webkul/Admin/src/DataGrids/ProductDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/ProductDataGrid.php @@ -66,12 +66,6 @@ class ProductDataGrid extends DataGrid /* channel */ $this->channel = core()->getRequestedChannelCode(); - /* finding channel code */ - if ($this->channel !== 'all') { - $this->channel = Channel::query()->find($this->channel); - $this->channel = $this->channel ? $this->channel->code : 'all'; - } - /* parent constructor */ parent::__construct(); }