added annotation mentions.2
This commit is contained in:
parent
1038a14a8b
commit
287c016c89
|
@ -137,7 +137,10 @@
|
|||
</div>
|
||||
|
||||
<div class="row mt-3 pt-1 pb-1">
|
||||
<div class="col-12 annotation-full-text" [innerHtml]="parsePayload(annotation.payload)"></div>
|
||||
<ng-container *ngFor="let annotationItem of annotation.payload">
|
||||
<div *ngIf="!annotationItem.isMention; else subthreadMention">{{annotationItem.payload}} </div>
|
||||
<ng-template #subthreadMention><div><span class="highlight-user-mention">{{annotationItem.payload}}</span> </div></ng-template>
|
||||
</ng-container>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue