fix: member point firstOrCreate, posts table dedup

This commit is contained in:
2026-05-11 18:56:59 +00:00
parent f89bedb0fd
commit c56ecb941c
2 changed files with 13 additions and 15 deletions
@@ -17,8 +17,8 @@ class PostsTable
{
public static function configure(Table $table): Table
{
$canReview = auth()->user()?->can('Publish:Post');
$canPublish = auth()->user()?->can('Publish:Post');
$canReview = auth()->user()?->can('Publish:Post') ?? false;
$canPublish = $canReview;
return $table
->columns([