Merge pull request #6128 from ArtemDzhereleiko/bug-fix/ota-autocomplete/default-type-value

[3.3.4] UI: Added default OtaUpdateType
This commit is contained in:
Igor Kulikov 2022-03-03 18:40:46 +02:00 committed by GitHub
commit 0266a9703c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ export class OtaPackageAutocompleteComponent implements ControlValueAccessor, On
modelValue: string | EntityId | null; modelValue: string | EntityId | null;
private otaUpdateType: OtaUpdateType; private otaUpdateType: OtaUpdateType = OtaUpdateType.FIRMWARE;
get type(): OtaUpdateType { get type(): OtaUpdateType {
return this.otaUpdateType; return this.otaUpdateType;