Arg modifier chip list now supports auto complete and arg description as the chip tooltip

Fixed bug that caused custom args to reset after exiting arg modifier without hitting cancel
This commit is contained in:
Tzahi12345
2020-05-05 20:11:23 -04:00
parent 76b63329ca
commit 747735dffe
4 changed files with 43 additions and 8 deletions

View File

@@ -144,7 +144,7 @@ export class SettingsComponent implements OnInit {
}
});
dialogRef.afterClosed().subscribe(new_args => {
if (new_args !== null) {
if (new_args !== null && new_args !== undefined) {
this.new_config['Downloader']['custom_args'] = new_args;
}
});