fix: member point firstOrCreate, posts table dedup
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user