Skip to content

Commit f4bc7ae

Browse files
committed
chore: remove unnecessary if condition
1 parent 9b21782 commit f4bc7ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/modules/angular-slickgrid/extensions/slickRowDetailView.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ export class SlickRowDetailView extends UniversalSlickRowDetailView {
336336
* @param item
337337
*/
338338
protected notifyTemplate(item: any) {
339-
if (this.onAsyncResponse) {
340-
this.onAsyncResponse.notify({ item, itemDetail: item }, new SlickEventData(), this);
341-
}
339+
this.onAsyncResponse.notify({ item, itemDetail: item }, new SlickEventData(), this);
342340
}
343341

344342
/**

0 commit comments

Comments
 (0)