Skip to content

Commit

Permalink
fix header logo being always minerva for non carousel pages
Browse files Browse the repository at this point in the history
  • Loading branch information
felixriehm committed Apr 11, 2024
1 parent 31fd0f3 commit 5803157
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/src/ui/header.ts
Original file line number Diff line number Diff line change
@@ -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{
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 5803157

Please sign in to comment.