mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-10 02:01:27 +03:00
Modifying playlist in dialog will now update the file manager automatically
This commit is contained in:
@@ -88,6 +88,15 @@ export class FileCardComponent implements OnInit {
|
||||
width: '65vw'
|
||||
}
|
||||
});
|
||||
|
||||
dialogRef.afterClosed().subscribe(res => {
|
||||
// updates playlist in file manager if it changed
|
||||
if (dialogRef.componentInstance.playlist_updated) {
|
||||
this.playlist = dialogRef.componentInstance.original_playlist;
|
||||
this.title = this.playlist.name;
|
||||
this.count = this.playlist.fileNames.length;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
onImgError(event) {
|
||||
|
||||
Reference in New Issue
Block a user