Skip to content

Commit a16400e

Browse files
rappasoftactions-user
authored andcommitted
Fix styling
1 parent 44d3b44 commit a16400e

File tree

5 files changed

+1
-15
lines changed

5 files changed

+1
-15
lines changed

src/Traits/Configuration/ComponentConfiguration.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,6 @@ public function setCollapsingColumnsDisabled(): self
262262
return $this;
263263
}
264264

265-
266-
267-
268-
269-
270265
public function setTableRowUrl(callable $callback): self
271266
{
272267
$this->trUrlCallback = $callback;

src/Traits/Helpers/ComponentHelpers.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ public function collapsingColumnsAreDisabled(): bool
276276
return $this->getCollapsingColumnsStatus() === false;
277277
}
278278

279-
280-
281-
282279
public function hasTableRowUrl(): bool
283280
{
284281
return $this->trUrlCallback !== null;

src/Views/Column.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Support\Str;
66
use Rappasoft\LaravelLivewireTables\DataTableComponent;
7-
use Rappasoft\LaravelLivewireTables\Views\Columns\LinkColumn;
87
use Rappasoft\LaravelLivewireTables\Views\Traits\Configuration\ColumnConfiguration;
98
use Rappasoft\LaravelLivewireTables\Views\Traits\Helpers\ColumnHelpers;
109
use Rappasoft\LaravelLivewireTables\Views\Traits\Helpers\RelationshipHelpers;

src/Views/Traits/Configuration/ColumnConfiguration.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ public function footer($callback = null): self
177177
return $this;
178178
}
179179

180-
181-
182180
public function unclickable(): self
183181
{
184182
$this->clickable = false;

src/Views/Traits/Helpers/ColumnHelpers.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,12 +510,9 @@ public function arrayToAttributes(array $attributes)
510510
}, array_keys($attributes)));
511511
}
512512

513-
514-
515-
516513
public function isClickable(): bool
517514
{
518-
return $this->clickable &&
515+
return $this->clickable &&
519516
$this->component->hasTableRowUrl() &&
520517
! $this instanceof LinkColumn;
521518
}

0 commit comments

Comments
 (0)