Skip to content

Commit

Permalink
fix(content/entry): prevent overriding entry adminTags when saving li…
Browse files Browse the repository at this point in the history
…ve settings KMCNG-2473
  • Loading branch information
amirch1 committed Jan 31, 2023
1 parent d59c62c commit b3a2b77
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class EntryLiveWidget extends EntryWidget implements OnDestroy {
private _analytics: AppAnalytics,
private _permissionsService: KMCPermissionsService,
private _browserService: BrowserService,
private _liveDasboardAppViewService: LiveDashboardAppViewService,
logger: KalturaLogger) {
private _liveDasboardAppViewService: LiveDashboardAppViewService,
logger: KalturaLogger) {
super(ContentEntryViewSections.Live, logger);
}

Expand Down Expand Up @@ -109,8 +109,9 @@ export class EntryLiveWidget extends EntryWidget implements OnDestroy {
(data as KalturaLiveStreamEntry).bitrates = bitrates;
}
if (this._liveType === "kaltura") {
const entry = this.data as KalturaLiveStreamEntry;
(data as KalturaLiveStreamEntry).explicitLive = this._explicitLive ? KalturaNullableBoolean.trueValue : KalturaNullableBoolean.falseValue;
(data as KalturaLiveStreamEntry).adminTags = this.getAdminTags(data.adminTags || '');
(data as KalturaLiveStreamEntry).adminTags = this.getAdminTags(entry.adminTags || '');
(data as KalturaLiveStreamEntry).srtPass = this._srtKey === '' ? null : this._srtKey;
(data as KalturaLiveStreamEntry).conversionProfileId = this._selectedConversionProfile;
}
Expand Down

0 comments on commit b3a2b77

Please sign in to comment.