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 a99b5b3 commit a94c6edCopy full SHA for a94c6ed
src/Views/Columns/LinkColumn.php
@@ -21,10 +21,13 @@ class LinkColumn extends Column
21
public function __construct(string $title, ?string $from = null)
22
{
23
parent::__construct($title, $from);
24
-
25
- $this->label(fn () => null);
+
+ 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