UX Pass 6 (#3131)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
This commit is contained in:
parent
fc644985be
commit
62383042b0
70 changed files with 741 additions and 399 deletions
|
@ -75,6 +75,12 @@ export class ManageMediaSettingsComponent implements OnInit {
|
|||
return this.settingsService.updateServerSettings(data);
|
||||
}),
|
||||
tap(settings => {
|
||||
|
||||
const encodingChanged = this.serverSettings.encodeMediaAs !== settings.encodeMediaAs;
|
||||
if (encodingChanged) {
|
||||
this.toastr.info(translate('manage-media-settings.media-warning'));
|
||||
}
|
||||
|
||||
this.serverSettings = settings;
|
||||
this.resetForm();
|
||||
this.cdRef.markForCheck();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue