RED-4224: Fixed references list
This commit is contained in:
parent
4cbcc171d2
commit
8d2223e56d
@ -108,7 +108,7 @@
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="annotationReferencesService.show(annotations[0])"
|
||||
(action)="$event.stopPropagation(); annotationReferencesService.show(annotations[0])"
|
||||
*ngIf="!multiSelectService.isActive && annotations[0].reference.length"
|
||||
[tooltipPosition]="tooltipPosition"
|
||||
[tooltip]="'annotation-actions.see-references.label' | translate"
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
max-height: 380px;
|
||||
right: 370px;
|
||||
top: 165px;
|
||||
z-index: 1;
|
||||
|
||||
.references-header {
|
||||
padding: 8px 8px 8px 13px;
|
||||
|
||||
@ -3,6 +3,7 @@ import { AnnotationWrapper } from '@models/file/annotation.wrapper';
|
||||
import { AnnotationReferencesService } from '../../services/annotation-references.service';
|
||||
import { Observable, switchMap } from 'rxjs';
|
||||
import { AnnotationsListingService } from '../../services/annotations-listing.service';
|
||||
import { filter } from 'rxjs/operators';
|
||||
|
||||
@Component({
|
||||
selector: 'redaction-annotation-references-list',
|
||||
@ -19,6 +20,7 @@ export class AnnotationReferencesListComponent {
|
||||
readonly annotationReferencesService: AnnotationReferencesService,
|
||||
) {
|
||||
this.isSelected$ = this.annotationReferencesService.annotation$.pipe(
|
||||
filter(annotation => !!annotation),
|
||||
switchMap(annotation => this._listingService.isSelected$(annotation)),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user