Enable opportunity card deletion (#490)
* Add checkbox * Add state management for selected opportunities * Use recoil for selected items state, show action bar * Deduplicate code * Add delete action * Enable delete * Add color for selected cards * update board state on delete * Add stories * Enable empty board * Fix story * Handle dark mdoe * Nits * Rename module * Better naming * Fix naming confusion process<>progress
This commit is contained in:
@ -108,6 +108,9 @@ export class AbilityFactory {
|
||||
can(AbilityAction.Update, 'PipelineProgress', {
|
||||
workspaceId: workspace.id,
|
||||
});
|
||||
can(AbilityAction.Delete, 'PipelineProgress', {
|
||||
workspaceId: workspace.id,
|
||||
});
|
||||
|
||||
return build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user