Skip to content

Commit

Permalink
Merge pull request #8 from lairg99/main
Browse files Browse the repository at this point in the history
Fixed type in Config
  • Loading branch information
tgeorgel authored Jul 24, 2024
2 parents 0c98ff4 + aff5b67 commit 757072b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static function pluginRegistered(): bool
return filament()->getCurrentPanel() && filament()->hasPlugin('filament-table-layout-toggle');
}

public static function defaultLayout(): bool
public static function defaultLayout(): string
{
if (self::pluginRegistered()) {
return TableLayoutTogglePlugin::get()->defaultLayout();
Expand Down

0 comments on commit 757072b

Please sign in to comment.