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

30 lines
1.1 KiB
TypeScript
Raw Normal View History

2017-07-15 21:29:04 +08:00
import {Component} from "@angular/core";
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";
import {ClientConfig} from "../../../../common/config/public/ConfigClass";
import {ShareSettingsService} from "./share.settings.service";
@Component({
selector: 'settings-share',
templateUrl: './share.settings.component.html',
styleUrls: ['./share.settings.component.css',
'./../_abstract/abstract.settings.component.css'],
providers: [ShareSettingsService],
})
export class ShareSettingsComponent extends SettingsComponent<ClientConfig.SharingConfig> {
constructor(_authService: AuthenticationService,
_navigation: NavigationService,
_settingsService: ShareSettingsService,
notification: NotificationService) {
2017-07-15 23:29:40 +08:00
super("Share", _authService, _navigation, _settingsService, notification, s => s.Client.Sharing);
2017-07-15 21:29:04 +08:00
}
}