Skip to content

Commit 0e4c1e8

Browse files
committed
fix ->isEnabled()
1 parent de3d76e commit 0e4c1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FilamentTypesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function getId(): string
2121
public function register(Panel $panel): void
2222
{
2323
if(class_exists(Module::class)){
24-
if(\Nwidart\Modules\Facades\Module::find('FilamentTypes')->isEnabled()){
24+
if(\Nwidart\Modules\Facades\Module::find('FilamentTypes')?->isEnabled()){
2525
$this->isActive = true;
2626
}
2727
}

0 commit comments

Comments
 (0)