Skip to content

Commit

Permalink
SNRGY-3616 aspects: fix drag and drop
Browse files Browse the repository at this point in the history
  • Loading branch information
franzmueller committed Nov 22, 2024
1 parent 50a8e01 commit 233d045
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/modules/metadata/aspects/aspects.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
cdkDragDisabled="{{!userIsAdmin || !nodeValid(node)}}"
[cdkDragData]="node" (cdkDragStarted)="dragStart()" (cdkDragEnded)="dragEnd()">
<button mat-icon-button disabled></button>
<button mat-icon-button [disabled]="!userIsAdmin || !nodeValid(node)" color="accent" disableRipple class="tree-inline">
<mat-icon cdkDragHandle>drag_handle</mat-icon>
<button cdkDragHandle mat-icon-button [disabled]="!userIsAdmin || !nodeValid(node)" color="accent" disableRipple class="tree-inline">
<mat-icon>drag_handle</mat-icon>
</button>
<mat-form-field class="full-width" appearance="outline" color="accent" fxFlex>
<mat-label>Name</mat-label>
Expand Down Expand Up @@ -60,8 +60,8 @@
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
</mat-icon>
</button>
<button mat-icon-button [disabled]="!userIsAdmin || !nodeValid(node)" color="accent" disableRipple class="nested-tree-inline">
<mat-icon cdkDragHandle>drag_handle</mat-icon>
<button cdkDragHandle mat-icon-button [disabled]="!userIsAdmin || !nodeValid(node)" color="accent" disableRipple class="nested-tree-inline">
<mat-icon>drag_handle</mat-icon>
</button>
<mat-form-field class="full-width" appearance="outline" color="accent" fxFlex>
<mat-label>Name</mat-label>
Expand Down

0 comments on commit 233d045

Please sign in to comment.