Closed Yelles closed 5 years ago
Hi,
I'm trying to add two Tabs with 2 different ressources that share the same model, in that case the layout is broken... Any idea ? may be i'm doing it wrong ? I would like to filter my model by type and add the filtered results in different tabs.
(new Tabs('Relations', [ HasMany::make('Drink Products', 'drink_products', \App\Nova\Product1::class), HasMany::make('Food Products', 'food_products', \App\Nova\Product2::class), ]))->defaultSearch(true),
here is the result :
my bad...
Hi,
I'm trying to add two Tabs with 2 different ressources that share the same model, in that case the layout is broken... Any idea ? may be i'm doing it wrong ? I would like to filter my model by type and add the filtered results in different tabs.
here is the result :