Commits
Michael Spalti authored 99ada45288a
29 29 | /** |
30 30 | * Used to configure search in mirador. |
31 31 | */ |
32 32 | iiifSearchEnabled: boolean; |
33 33 | |
34 34 | /** |
35 35 | * The query term from the previous dspace search. |
36 36 | */ |
37 37 | iiifQuery$: Observable<string>; |
38 38 | |
39 - | /** |
40 - | * Used to configure search in mirador. |
41 - | */ |
42 - | showBackButton: Observable<boolean>; |
43 - | |
44 39 | mediaViewer; |
45 40 | |
46 41 | constructor(protected routeService: RouteService) { |
47 42 | this.mediaViewer = environment.mediaViewer; |
48 43 | } |
49 44 | ngOnInit(): void { |
50 45 | this.itemPageRoute = getItemPageRoute(this.object); |
51 46 | // check to see if iiif viewer is required. |
52 47 | this.iiifEnabled = isIiifEnabled(this.object); |
53 48 | this.iiifSearchEnabled = isIiifSearchEnabled(this.object); |