mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-237] - Refactoring ts based on @angular/cdk/drag-drop
This commit is contained in:
@@ -85,6 +85,9 @@ export class ChipsComponent implements OnChanges {
|
|||||||
}
|
}
|
||||||
showTooltip(tooltip: NgbTooltip, index, field?) {
|
showTooltip(tooltip: NgbTooltip, index, field?) {
|
||||||
tooltip.close();
|
tooltip.close();
|
||||||
|
if (this.isDragging.value) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const chipsItem = this.chips.getChipByIndex(index);
|
const chipsItem = this.chips.getChipByIndex(index);
|
||||||
const textToDisplay: string[] = [];
|
const textToDisplay: string[] = [];
|
||||||
if (!chipsItem.editMode && this.dragged === -1) {
|
if (!chipsItem.editMode && this.dragged === -1) {
|
||||||
|
Reference in New Issue
Block a user