PartKeepr icon indicating copy to clipboard operation
PartKeepr copied to clipboard

unable to delete action

Open ghost-from-the-past opened this issue 3 years ago • 2 comments

tested in the online demo at System/System Preferences/Actions in the action grid, one can add actions with the Add Action button and Save Action the Delete Action button does not delete none of the existent actions

I tried to select the action row at all the fields/columns Entity or Action or Batch Job unsuccessfully action_delete

ghost-from-the-past avatar Mar 14 '21 00:03 ghost-from-the-past

Seems that the source code is /src/PartKeepr/FrontendBundle/Resources/public/js/Components/SystemPreferences/Preferences/ActionsConfiguration.js there is a handler: this.onAddAction for the Add Action button but no handler for the Delete Action button

Is there a "similar" code that I can use as example somewhere in the sources ? using it as "inspiration" to complete the missing code of the delete button

ghost-from-the-past avatar Mar 14 '21 00:03 ghost-from-the-past

the fix appears in my pull request https://github.com/partkeepr/PartKeepr/pull/1201

(warning this issue is 1202 and the pull request is 1201 what could create confusion)

ghost-from-the-past avatar Mar 14 '21 14:03 ghost-from-the-past