import { Component } from "@angular/core" ; import { Store } from "@ngrx/store" ; import { OptionsService } from "src/web/browser-window/app/_options/options.service" ; import { State } from "src/web/browser-window/app/store/reducers/options" ; @ Component ( { selector : "electron-mail-settings" , templateUrl : "./settings.component.html" , styleUrls : [ "./settings.component.scss" ] , } ) export class SettingsComponent { constructor ( private optionsService , private store ) { } close ( ) { this . store . dispatch ( this . optionsService . settingsNavigationAction ( ) ) ; } }