Skip to content

Commit

Permalink
fix dnd image on drag
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-christl committed Sep 29, 2023
1 parent d8d3e22 commit 052d639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ <h3 class="mb-0"><span class="badge bg-warning align-text-top" style="width: 60p
<fa-icon [icon]="faBars" size="lg"></fa-icon>
</div>
<div *ngIf="dragItem.pictureFilePath">
<jhi-secured-image [src]="dragItem.pictureFilePath"></jhi-secured-image>
<jhi-secured-image [src]="filePreviewPaths.get(dragItem.pictureFilePath) || ''"></jhi-secured-image>
</div>
<div *ngIf="!dragItem.pictureFilePath">
<textarea disabled [(ngModel)]="dragItem.text" (ngModelChange)="questionUpdated.emit()"></textarea>
Expand Down

0 comments on commit 052d639

Please sign in to comment.