You've already forked pigallery2
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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user