1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/settings/map/map.settings.component.ts

30 lines
1.1 KiB
TypeScript
Raw Normal View History

2017-07-14 05:39:09 +08:00
import {Component} from "@angular/core";
import {MapSettingsService} from "./map.settings.service";
import {SettingsComponent} from "../_abstract/abstract.settings.component";
import {AuthenticationService} from "../../model/network/authentication.service";
import {NavigationService} from "../../model/navigation.service";
import {NotificationService} from "../../model/notification.service";
2017-07-15 18:47:11 +08:00
import {ClientConfig} from "../../../../common/config/public/ConfigClass";
2017-07-14 05:39:09 +08:00
@Component({
selector: 'settings-map',
templateUrl: './map.settings.component.html',
2017-07-15 18:47:11 +08:00
styleUrls: ['./map.settings.component.css',
'./../_abstract/abstract.settings.component.css'],
2017-07-14 05:39:09 +08:00
providers: [MapSettingsService],
})
2017-07-15 18:47:11 +08:00
export class MapSettingsComponent extends SettingsComponent<ClientConfig.MapConfig> {
2017-07-14 05:39:09 +08:00
constructor(_authService: AuthenticationService,
_navigation: NavigationService,
2017-07-15 20:27:12 +08:00
_settingsService: MapSettingsService,
2017-07-14 05:39:09 +08:00
notification: NotificationService) {
2017-07-15 20:27:12 +08:00
super("Map", _authService, _navigation, <any>_settingsService, notification);
2017-07-14 05:39:09 +08:00
}
}