forked from MapComplete/MapComplete
Fix: fix missing param
This commit is contained in:
parent
0897061f27
commit
6fa4323495
2 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue