Skip to content

Commit 2bd2693

Browse files
committed
Remove typo for equality
1 parent 6bd0578 commit 2bd2693

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ng-generate/components/card/generators/components/card/files/__name@dasherize__.component.ts.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ export class <%= classify(name) %>Component implements OnInit, AfterViewInit<% i
118118
private readonly destroy$ = new Subject<void>();
119119
<% } %>
120120

121-
<% if (options.hasSearchBar && options.enableRemoteDataHandling) { %>
122-
private requestSubscription: Subscription = = new Subscription();
121+
<% if (options.enableRemoteDataHandling) { %>
122+
private requestSubscription: Subscription = new Subscription();
123123
<% } %>
124124

125125
<% if (options.enableRemoteDataHandling) { %>

src/ng-generate/components/table/generators/components/table/files/__name@dasherize__.component.ts.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ export class <%= classify(name) %>Component implements OnInit, AfterViewInit, Af
224224
private readonly ngUnsubscribe = new Subject<void>();
225225
<% } %>
226226

227-
<% if (options.hasSearchBar && options.enableRemoteDataHandling) { %>
228-
private requestSubscription: Subscription = = new Subscription();
227+
<% if (options.enableRemoteDataHandling) { %>
228+
private requestSubscription: Subscription = new Subscription();
229229
<% } %>
230230

231231
<% if (options.enableRemoteDataHandling) { %>

0 commit comments

Comments
 (0)