Skip to content

Commit

Permalink
🐛 Add missing part of configuration name
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeorgel committed Feb 12, 2024
1 parent f6fd857 commit 5a5a595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function shouldPersistLayoutInLocalStorage(): bool
return TableLayoutTogglePlugin::get()->shouldPersistLayoutInLocalStorage();
}

return config('table-layout-toggle.local_storage', true);
return config('table-layout-toggle.persist.local_storage', true);
}

public static function shouldShareLayoutBetweenPages(): bool
Expand All @@ -35,7 +35,7 @@ public static function shouldShareLayoutBetweenPages(): bool
return TableLayoutTogglePlugin::get()->shouldShareLayoutBetweenPages();
}

return config('table-layout-toggle.share_between_pages', false);
return config('table-layout-toggle.persist.share_between_pages', false);
}

public static function toggleActionEnabled(): bool
Expand Down

0 comments on commit 5a5a595

Please sign in to comment.