mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[CST-3782] Disabled drag when only one value is present
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
role="group"
|
||||
[formGroupName]="idx"
|
||||
[ngClass]="[getClass('element', 'group'), getClass('grid', 'group')]"
|
||||
cdkDrag cdkDragHandle>
|
||||
cdkDrag
|
||||
cdkDragHandle
|
||||
[cdkDragDisabled]="model.groups.length === 1">
|
||||
<!-- Item content -->
|
||||
<div *cdkDragPreview>
|
||||
<div class="alert alert-info">
|
||||
|
Reference in New Issue
Block a user