olivetin/frontend/resources/vue/utils/needsArgumentForm.js

4 lines
113 B
JavaScript

export function needsArgumentForm (action) {
return (action?.arguments?.length > 0) || action?.justification
}