mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
changed up the highlight fragment formatter
This commit is contained in:
parent
273c474e3f
commit
789abb3bbb
3 changed files with 23 additions and 23 deletions
|
|
@ -1,3 +1,3 @@
|
|||
... <span *ngFor="let fragment of highlights">
|
||||
<span *ngFor="let token of fragment" [ngClass]="token.term != null ? 'match term'+ token.term : ''">{{token.text}}</span> ...
|
||||
<span *ngFor="let token of fragment" [class.match]="token.highlight">{{token.text}}</span> ...
|
||||
</span>
|
||||
Loading…
Add table
Add a link
Reference in a new issue