-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
- Laravel Version: 10.#.#
- Nova Version: v4.24.4
- PHP Version: 8.2.5
- Database Driver & Version: mysql 8
- Operating System and Version: ubuntu
Description:
I have Resource Order.
class Order extends Resource
{
/**
* The model the resource corresponds to.
*
* @var class-string<\App\Models\Order>
*/
public static $model = \App\Models\Order::class;
....
in this case there is no action of preview in the table, only editing

But if I rename model Order to UserOrder and change resource code, preview option appears in the list
class Order extends Resource
{
/**
* The model the resource corresponds to.
*
* @var class-string<\App\Models\UserOrder>
*/
public static $model = \App\Models\UserOrder::class;
.....
Metadata
Metadata
Assignees
Labels
No labels
