Revize 7479e470
Přidáno uživatelem Hung Hoang před téměř 6 roky(ů)
webapp/src/app/header/header.component.ts | ||
---|---|---|
3 | 3 |
import {LocalizationService} from '../localization/localization.service'; |
4 | 4 |
import {UserService} from '../services/api/user.service'; |
5 | 5 |
import {UserProfile} from '../models/user.model'; |
6 |
import {ProfileSettingsComponent} from "../profile-settings/profile-settings.component";
|
|
6 |
import {ProfileSettingsComponent} from '../profile-settings/profile-settings.component';
|
|
7 | 7 |
|
8 | 8 |
@Component({ |
9 | 9 |
selector: 'app-header', |
... | ... | |
32 | 32 |
notification: this.profile.notification |
33 | 33 |
} |
34 | 34 |
}).afterClosed().subscribe(dialogData => { |
35 |
if (!dialogData.isConfirmed) { |
|
36 |
return; |
|
37 |
} |
|
38 |
|
|
35 | 39 |
this.userService.putNotificationSettingsWithLanguage( |
36 | 40 |
{ |
37 | 41 |
notification: dialogData.notification |
Také k dispozici: Unified diff
Modified api users service, fixed edit settings dialog