Fix startAt/stopAt playlist element edition
This commit is contained in:
parent
60ea8f7a31
commit
50a1e91dcc
1 changed files with 6 additions and 3 deletions
|
@ -215,10 +215,13 @@ export class VideoPlaylistService {
|
|||
map(this.restExtractor.extractDataBool),
|
||||
tap(() => {
|
||||
const existsResult = this.videoExistsCache[videoId]
|
||||
const elem = existsResult.find(e => e.playlistElementId === playlistElementId)
|
||||
|
||||
elem.startTimestamp = body.startTimestamp
|
||||
elem.stopTimestamp = body.stopTimestamp
|
||||
if (existsResult) {
|
||||
const elem = existsResult.find(e => e.playlistElementId === playlistElementId)
|
||||
|
||||
elem.startTimestamp = body.startTimestamp
|
||||
elem.stopTimestamp = body.stopTimestamp
|
||||
}
|
||||
|
||||
this.runPlaylistCheck(videoId)
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue