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 728dbda commit a9ed53aCopy full SHA for a9ed53a
src/Widgets/Navbar.php
@@ -67,14 +67,14 @@ public function add($element)
67
*/
68
public function render($part = 'right')
69
{
70
- if (!isset($this->elements[$part]) || $this->elements[$part]->isEmpty()) {
71
- return '';
72
- }
73
-
74
if ($part == 'right') {
75
$this->right(new RefreshButton());
76
}
77
+ if (!isset($this->elements[$part]) || $this->elements[$part]->isEmpty()) {
+ return '';
+ }
+
78
return $this->elements[$part]->map(function ($element) {
79
if ($element instanceof Htmlable) {
80
return $element->toHtml();
0 commit comments