We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94c6ed commit 22bdfe6Copy full SHA for 22bdfe6
src/Views/Columns/LinkColumn.php
@@ -21,13 +21,12 @@ class LinkColumn extends Column
21
public function __construct(string $title, ?string $from = null)
22
{
23
parent::__construct($title, $from);
24
-
+
25
if (! isset($from)) {
26
$this->label(fn () => null);
27
}
28
29
30
31
public function getContents(Model $row): null|string|\Illuminate\Support\HtmlString|DataTableConfigurationException|\Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
32
33
if (! $this->hasTitleCallback()) {
0 commit comments