File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 23
23
"icon" : " heroicon-c-tag" ,
24
24
"placeholder" : " https://raw.githubusercontent.com/tomatophp/filament-types/master/arts/3x1io-tomato-types.jpg" ,
25
25
"type" : " plugin" ,
26
- "version" : " v1.0.22 " ,
26
+ "version" : " v1.0.23 " ,
27
27
"github" : " https://github.com/tomatophp/filament-types" ,
28
28
"docs" : " https://github.com/tomatophp/filament-types"
29
29
}
Original file line number Diff line number Diff line change @@ -20,10 +20,8 @@ public function getId(): string
20
20
21
21
public function register (Panel $ panel ): void
22
22
{
23
- if (class_exists (Module::class)){
24
- if (\Nwidart \Modules \Facades \Module::find ('FilamentTypes ' )?->isEnabled()){
25
- $ this ->isActive = true ;
26
- }
23
+ if (class_exists (Module::class) && \Nwidart \Modules \Facades \Module::find ('FilamentTypes ' )?->isEnabled()){
24
+ $ this ->isActive = true ;
27
25
}
28
26
else {
29
27
$ this ->isActive = true ;
You can’t perform that action at this time.
0 commit comments