Skip to content

Commit 76d5ffd

Browse files
fix: pr suggestions
1 parent 416837b commit 76d5ffd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

projects/components/src/load-async/load-async.directive.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import {
2424
export class LoadAsyncDirective implements OnChanges, OnDestroy {
2525
@Input('htLoadAsync')
2626
public data$?: Observable<unknown>;
27-
@Input()
28-
public htLoadAsyncLoaderType?: LoaderType;
27+
@Input('htLoadAsyncLoaderType')
28+
public loaderType?: LoaderType;
2929

3030
private readonly wrapperParamsSubject: ReplaySubject<LoadAsyncWrapperParameters> = new ReplaySubject(1);
3131
private readonly wrapperInjector!: Injector;
@@ -53,7 +53,7 @@ export class LoadAsyncDirective implements OnChanges, OnDestroy {
5353
this.wrapperView = this.wrapperView || this.buildWrapperView();
5454
this.wrapperParamsSubject.next({
5555
state$: this.loadAsyncService.mapObservableState(this.data$),
56-
loaderType: this.htLoadAsyncLoaderType,
56+
loaderType: this.loaderType,
5757
content: this.templateRef
5858
});
5959
} else {

projects/components/src/load-async/loader/loader.component.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ImagesAssetPath, LoaderType } from '@hypertrace/assets-library';
33
import { createHostFactory, SpectatorHost } from '@ngneat/spectator/jest';
44
import { LoaderComponent } from './loader.component';
55

6-
describe('Link component', () => {
6+
describe('Loader component', () => {
77
let spectator: SpectatorHost<LoaderComponent>;
88

99
const createHost = createHostFactory({

0 commit comments

Comments
 (0)