Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 26, 2022
1 parent 67d0ea6 commit bafabeb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/widgets/GridViewWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,14 @@ public function renderAfterTable()
if ($this->afterTableRight instanceof \Closure) {
$this->afterTableRight = call_user_func($this->afterTableRight, $this);
}
return "<div class='sx-after-table'>
<div class='pull-left'>{$this->afterTableLeft}</div>
<div class='pull-right'>{$this->afterTableRight}</div>
</div>";

if ($this->afterTableLeft || $this->afterTableRight) {
return "<div class='sx-after-table'>
<div class='pull-left'>{$this->afterTableLeft}</div>
<div class='pull-right'>{$this->afterTableRight}</div>
</div>";
}

} else {
return "";
}
Expand Down

0 comments on commit bafabeb

Please sign in to comment.