Can two tabs have different CTAs?

I came across this case wherei have two tabs and under one , we have option to show save and cancel and not in other, as follows:

First Tab

First tab

Second Tab

enter image description here

When you click on one member, it opens a panel that slides from right and we have save in that panel.

enter image description here

Please let me know if there’s problem with this flow and how to have a consistent tab navigation view.