Fix: fix missing param

This commit is contained in:
Pieter Vander Vennet 2025-01-23 15:13:00 +01:00
parent 0897061f27
commit 6fa4323495
2 changed files with 3 additions and 1 deletions

View file

@ -3,7 +3,7 @@ import { MenuState } from "../../Models/MenuState"
import { AndroidPolyfill } from "./AndroidPolyfill"
import { IndexedFeatureSource } from "../FeatureSource/FeatureSource"
import { Feature } from "geojson"
import { UIEventSource } from "../UIEventSource"
import { Store, UIEventSource } from "../UIEventSource"
export default class ThemeViewStateHashActor {
private readonly _state: {
@ -36,6 +36,7 @@ export default class ThemeViewStateHashActor {
*
*/
constructor(state: {
featureSwitches: {featureSwitchBackToThemeOverview: Store<boolean>}
indexedFeatures: IndexedFeatureSource,
selectedElement: UIEventSource<Feature>,
guistate: MenuState,

View file

@ -56,6 +56,7 @@ export class WithImageState extends WithGuiState implements SpecialVisualization
private initActors() {
new ThemeViewStateHashActor({
featureSwitches: this.featureSwitches,
selectedElement: this.selectedElement,
indexedFeatures: this.indexedFeatures,
guistate: this.guistate