firecmsco / firecms

Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
https://firecms.co
Other
1.13k stars 185 forks source link

Collection group view shows 'Add' button #572

Closed faizanabidnaqvi closed 10 months ago

faizanabidnaqvi commented 10 months ago

Hi!

In collection group view, the add entity button shows. When using the button to create an entity, the entity will get saved in a root collection with the subcollection's name. This can cause issues, for instance, if another root collection exists by the same name.

We can probably disable creating entities for this collection group to not show it but it can cause issues if unsuspecting dev/users try to use it.

fgatti675 commented 10 months ago

Fixed in version 2.2.0-pre. Could you confirm this is working?

faizanabidnaqvi commented 10 months ago

I can confirm that this is working, that is, the add button doesn't show in the collection group now. :)