1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-12-07 23:23:49 +02:00

implementing other settings

This commit is contained in:
Braun Patrik
2017-07-15 16:31:43 +02:00
parent 9745ab216f
commit 836f20eea4
11 changed files with 219 additions and 2 deletions

View File

@@ -24,6 +24,15 @@ export class BasicSettingsComponent extends SettingsComponent<BasicConfigDTO> {
super("Basic", _authService, _navigation, _settingsService, notification);
}
public async save(): Promise<boolean> {
const val = await super.save();
if (val == true) {
this.notification.info('Restart the server to apply the new settings');
}
return val;
}
}