EditAction enabling hidden CreateAction in headerActions

I know it sounds a bit confusing but I'll try my best to explain. I have a CreateAction as a headerAction of a table and it has the hidden function and when first loading the page the CreateAction is hidden which is what I want, however when I click on the EditAction the modal opens and the CreateAction button is visible which shouldn't happen. Is this a bug?

Link to video: https://www.loom.com/share/140f468dde0c4f858f1e9f9c9f6fc9d2?sid=fd2e9f6d-2cc1-4a32-9753-ddaf2be27495
Was this page helpful?