Skip to content

Commit

Permalink
changes in component
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Oct 7, 2024
1 parent 2d2eea1 commit 78ef7ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dynamic-mapping-ui/src/mapping/grid/mapping.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,10 @@ export class MappingComponent implements OnInit, OnDestroy {
type: BuiltInActionType.Delete,
callback: this.deleteMappingBulkWithConfirmation.bind(this),
showIf: (selectedItemIds) => {
const result = true;
// depending on seleted id hide the bulkDelete

Check warning on line 270 in dynamic-mapping-ui/src/mapping/grid/mapping.component.ts

View workflow job for this annotation

GitHub Actions / Spell Check with Typos

"seleted" should be "selected" or "deleted".
console.log('Selected mappings (showIf):', selectedItemIds);
return true;
return result;
}
},
{
Expand Down

0 comments on commit 78ef7ff

Please sign in to comment.