Refactor: onClickAction and isActionDisabled in manual actions: `pipelines_list/pipelines_actions.vue`
Description
We could simplify 2 parts of the pipelines_list/pipelines_actions.vue
component:
- The following discussion from !53223 (merged) should be addressed:
-
@pburdette started a discussion: Follow up: We could simply this without the explicit
undefined
checkif (action?.playable) {
- The following discussion from !53223 (merged) should be addressed:
-
@pburdette started a discussion: Maybe a follow up. I feel like this method is doing too much. We should aim for our functions to do one thing, and one thing only. Maybe we could abstract this
confirmationMessage
bit to it's own method.
Edited by Miguel Rincon