I am trying to override two standard actions New and Edit for my custom object through a single Aura component. I am not sure how to find inside my aura which button is clicked.
1 Answer
If recordId
is null, it is a new record, otherwise recordId
will be the Id of the record you're editing.