From 5803157a9360e8337b5b9bdb3350c19e264cf40e Mon Sep 17 00:00:00 2001 From: Felix Riehm Date: Thu, 11 Apr 2024 15:46:07 +0200 Subject: [PATCH] fix header logo being always minerva for non carousel pages --- web/src/ui/header.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/src/ui/header.ts b/web/src/ui/header.ts index 8066260..b42bb97 100644 --- a/web/src/ui/header.ts +++ b/web/src/ui/header.ts @@ -1,12 +1,9 @@ import {Selection} from "d3"; -import MinervaLogo from "../../assets/images/minervamessenger-banner-kussmund+bulb.png"; import {ServiceTheme, Visualisation} from "../theme/model"; import {environmentVariables} from "../configuration/environment"; -import {Canvas} from "./canvas/canvas"; import {Subject} from "rxjs"; import {HatnoteVisService} from "../service_event/model"; import {VisualisationDirector} from "../theme/visualisationDirector"; -import {LegendItemHtml} from "./legend_item"; import {Legend} from "./legend"; export class Header{ @@ -34,7 +31,7 @@ export class Header{ .style('align-items', 'center') this.logo = this.root.append("img") - .attr('src', MinervaLogo) + .attr('src', visDirector.current_service_theme.header_logo) .style('width', '44px') .style('height', 'fit-content') .style('margin-left', '20px')