Skip to content

Commit c131ca5

Browse files
committed
Update
1 parent 3097010 commit c131ca5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/EloquentPanel.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ public function getTab()
3838
public function getPanel()
3939
{
4040
return Helpers::capture(function () {
41-
$queries = $this->queries;
41+
if (!$queries = $this->queries) {
42+
return;
43+
}
4244
require __DIR__.'/templates/panel.phtml';
4345
});
4446
}

0 commit comments

Comments
 (0)