fix: Improved the code for awards

This commit is contained in:
2026-07-14 16:42:48 +02:00
parent 0c6f8e2d68
commit 04b6431726
4 changed files with 33 additions and 35 deletions
-4
View File
@@ -260,9 +260,7 @@ export namespace award {
pattern: string;
leading_str?: string;
trailing_str?: string;
multi?: boolean;
dynamic?: boolean;
add_prefixes?: string[];
or_rules?: OrRule[];
dxcc_filter: number[];
valid_bands?: string[];
@@ -302,9 +300,7 @@ export namespace award {
this.pattern = source["pattern"];
this.leading_str = source["leading_str"];
this.trailing_str = source["trailing_str"];
this.multi = source["multi"];
this.dynamic = source["dynamic"];
this.add_prefixes = source["add_prefixes"];
this.or_rules = this.convertValues(source["or_rules"], OrRule);
this.dxcc_filter = source["dxcc_filter"];
this.valid_bands = source["valid_bands"];