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

code improvement

This commit is contained in:
Patrik J. Braun
2018-05-03 19:17:08 -04:00
parent 3f10c670f5
commit b6b0902392
42 changed files with 209 additions and 219 deletions

View File

@@ -8,7 +8,7 @@ import {BasicConfigDTO} from '../../../../common/entities/settings/BasicConfigDT
import {I18n} from '@ngx-translate/i18n-polyfill';
@Component({
selector: 'settings-basic',
selector: 'app-settings-basic',
templateUrl: './basic.settings.component.html',
styleUrls: ['./basic.settings.component.css',
'./../_abstract/abstract.settings.component.css'],
@@ -33,7 +33,7 @@ export class BasicSettingsComponent extends SettingsComponent<BasicConfigDTO> {
public async save(): Promise<boolean> {
const val = await super.save();
if (val == true) {
if (val === true) {
this.notification.info('Restart the server to apply the new settings');
}