This commit is contained in:
Билай Станислав 2024-11-20 12:52:26 +03:00
commit 9cb82deaf8

View File

@ -46,7 +46,8 @@ $table->addAction(function ($row, $url) use ($moduleService) {
} }
}); });
$table->addAction(function ($row, $url) {
$table->addAction(function ($row, $url) use ($moduleService) {
$url = "$url/view/?slug=". $row['slug']; $url = "$url/view/?slug=". $row['slug'];
return IconBtnViewWidget::create(['url' => $url])->run(); return IconBtnViewWidget::create(['url' => $url])->run();