mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-28 23:50:59 +03:00
Added additional sentence to custom args hint and fixed issue where empty args could be added through the args modifier
This commit is contained in:
@@ -161,6 +161,11 @@ export class ArgModifierDialogComponent implements OnInit, AfterViewInit {
|
||||
add(event) {
|
||||
const input = event.input;
|
||||
const arg = event.value;
|
||||
|
||||
if (!arg || arg.trim().length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.args_array.push(arg);
|
||||
if (this.modified_args.length > 0) {
|
||||
this.modified_args += ',,'
|
||||
|
||||
Reference in New Issue
Block a user