Skip to content

Commit

Permalink
Update ProductConditionRelationManager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wychoong committed Jan 22, 2025
1 parent e31e7bc commit 058b320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function getDefaultTable(Table $table): Table
->paginated(false)
->modifyQueryUsing(
fn ($query) => $query->whereIn('type', ['condition'])
->wherePurchasableType(Product::class)
->wherePurchasableType(Product::morphName())
->whereHas('purchasable')
)
->headerActions([
Expand Down

0 comments on commit 058b320

Please sign in to comment.