awcodes / filament-quick-create

Plugin for Filament Panels that adds a dropdown menu to the header to quickly create new items.
MIT License
168 stars 26 forks source link

option enabled without create page. #14

Closed SkeyPunyapal closed 2 years ago

SkeyPunyapal commented 2 years ago

is there any way to hide this option if users do not have rides to create any resources?

I mean it works fine if the user has 3 access from 6 resources it shows 3 of them but it isn't hiding when the user has 0 from 6 resources it shows a blank drop-down.

it may be done by checking the item count in the blade component.

image

awcodes commented 2 years ago

This is fixed in v1.1.0

Thanks.