[DURACOM-237] - Refactoring ts based on @angular/cdk/drag-drop

This commit is contained in:
Simone Ramundi
2024-03-04 17:53:05 +01:00
parent 4b0bf74d29
commit 6970f1ee67

View File

@@ -85,6 +85,9 @@ export class ChipsComponent implements OnChanges {
}
showTooltip(tooltip: NgbTooltip, index, field?) {
tooltip.close();
if (this.isDragging.value) {
return;
}
const chipsItem = this.chips.getChipByIndex(index);
const textToDisplay: string[] = [];
if (!chipsItem.editMode && this.dragged === -1) {