Add management of merchandises, enhance imageable trait
This commit is contained in:
@@ -67,7 +67,7 @@ class ArticlesDataTable extends DataTable
|
||||
})
|
||||
->editColumn('thumb', function (Article $article) {
|
||||
$image = Articles::getFullImageByArticle($article);
|
||||
return '<img src="' . Articles::getThumbSrc($image) . '">';
|
||||
return Articles::getThumb($image, false);
|
||||
})
|
||||
->editColumn('article_nature.name', function (Article $article) {
|
||||
return $article->article_nature ? $article->article_nature->name : '';
|
||||
|
||||
Reference in New Issue
Block a user