From 505611049e3162d42e96cfa968d0a5a11c65062d Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 29 Sep 2017 16:00:07 -0400 Subject: [PATCH] chore(table): remove redundant condition (#7345) --- src/cdk/table/row.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdk/table/row.ts b/src/cdk/table/row.ts index 989355a209d..e0c8b7bc304 100644 --- a/src/cdk/table/row.ts +++ b/src/cdk/table/row.ts @@ -44,7 +44,7 @@ export abstract class BaseRowDef { // Create a new columns differ if one does not yet exist. Initialize it based on initial value // of the columns property or an empty array if none is provided. const columns = changes['columns'].currentValue || []; - if (!this._columnsDiffer && columns) { + if (!this._columnsDiffer) { this._columnsDiffer = this._differs.find(columns).create(); this._columnsDiffer.diff(columns); }