Add key to ~/vue_merge_request_widget/components/widget/action_buttons.vue rendering of tertiary buttons
Follow-up from !191470 (comment 2559428868)
Background
Not all usages of ~/vue_merge_request_widget/components/widget/action_buttons.vue have an id key for the tertiaryButtons prop. This was causing problems in Vue 3 tests because we were using the index as the key.
Proposal
- Add a validator to
tertiaryButtonsprop that requires akeyattribute - Use
keyattribute forkeyin the template - Update all usages of
~/vue_merge_request_widget/components/widget/action_buttons.vueto have thiskeyattribute
Edited by Peter Hegman