Skip to content

Commit

Permalink
Makes Captain displayWithTrashed conditional for Ships relationships
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremynikolic committed Sep 16, 2024
1 parent a9227e1 commit 406524c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Nova/Captain.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public function fields(NovaRequest $request): array
];
})
->prunable()
->searchable(uses_searchable()),
->searchable(uses_searchable())
->displaysWithTrashed(! uses_without_trashed()),
];
}

Expand Down

0 comments on commit 406524c

Please sign in to comment.