Browse Source

UI: Refactoring

pull/12208/head
Artem Dzhereleiko 2 years ago
parent
commit
3a97faeb17
  1. 4
      ui-ngx/src/app/shared/components/ota-package/ota-package-autocomplete.component.ts

4
ui-ngx/src/app/shared/components/ota-package/ota-package-autocomplete.component.ts

@ -31,7 +31,7 @@ import { OtaPackageService } from '@core/http/ota-package.service';
import { PageLink } from '@shared/models/page/page-link';
import { Direction } from '@shared/models/page/sort-order';
import { emptyPageData } from '@shared/models/page/page-data';
import { getEntityDetailsPageURL, isDefinedAndNotNull } from '@core/utils';
import { getEntityDetailsPageURL } from '@core/utils';
import { AuthUser } from '@shared/models/user.model';
import { getCurrentAuthUser } from '@core/auth/auth.selectors';
import { Authority } from '@shared/models/authority.enum';
@ -77,7 +77,7 @@ export class OtaPackageAutocompleteComponent implements ControlValueAccessor, On
if (this.deviceProfile) {
this.reset();
}
this.deviceProfile = value ? value :NULL_UUID;
this.deviceProfile = value ? value : NULL_UUID;
}
}

Loading…
Cancel
Save