Skip to content

Commit

Permalink
fix(chat): double image preview (#2766)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreipadolin committed Jun 16, 2021
1 parent 9dcd40e commit 1b3c809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/framework/theme/components/chat/chat-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ import { NbComponentOrCustomStatus } from '../component-status';
<span class="remove" (click)="removeFile(file)">&times;</span>
</div>
<div>
<nb-icon *ngIf="!file.urlStyle" icon="file-text-outline" pack="nebular-essentials"></nb-icon>
<div *ngIf="!file.urlStyle">
<nb-icon icon="file-text-outline" pack="nebular-essentials"></nb-icon>
<span class="remove" (click)="removeFile(file)">&times;</span>
</div>
</ng-container>
Expand Down

0 comments on commit 1b3c809

Please sign in to comment.