Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

abkrim's avatar
Level 13

Nova card only in resource

I've create a nova card and I like apply only to one resource.

Nova/Resource

public function cards(Request $request)
{
	return [
		(new CustomerStatus)
	];
}

But the card is also displayed on the main dashboard. How can I prevent that card from being displayed on the main dashboard?

0 likes
1 reply
abkrim's avatar
Level 13

I answer myself. Just don't add it to NovaServiceProvider. I had not understood that this class is precisely what is itself the Dashboard

Please or to participate in this conversation.