We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d2e4b commit 8d31240Copy full SHA for 8d31240
libs/core/src/lib/directives/selection.ts
@@ -31,8 +31,6 @@ export class NgtSelect {
31
if (!enabled) return;
32
33
const host = elementRef.nativeElement;
34
- if (!host) return;
35
-
36
const localState = getInstanceState(host);
37
if (!localState) return;
38
libs/core/src/lib/utils/apply-props.ts
@@ -170,9 +170,7 @@ export function applyProps<T extends NgtAnyRecord>(instance: NgtInstanceState<T>
170
}
171
172
// clearing the intermediate store from the instance
173
- if (instance[NGT_APPLY_PROPS]) {
174
- delete instance[NGT_APPLY_PROPS];
175
- }
+ if (instance[NGT_APPLY_PROPS]) delete instance[NGT_APPLY_PROPS];
176
177
return instance;
178
0 commit comments