More gui improvements

This commit is contained in:
the-djmaze 2024-09-23 14:04:01 +02:00
parent 70225541eb
commit d1b4fa2c18
16 changed files with 67 additions and 17 deletions

View file

@ -230,7 +230,6 @@ export class HeaderTest extends TestCommand
constructor()
{
super();
this.match_type = ':is';
this.address_part = ':all';
this.header_names = new GrammarStringList;
this.key_list = new GrammarStringList;

View file

@ -51,7 +51,7 @@ export class VirusTestTest extends TestCommand
this._value = new GrammarQuotedString; // 1 - 5
}
get require() { return /:value|:count/.test(this.match_type) ? ['virustest','relational'] : 'virustest'; }
get require() { return /:value/.test(this.match_type) ? ['virustest','relational'] : 'virustest'; }
get value() { return this._value.value; }
set value(v) { this._value.value = v; }