mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(table): remove redundant condition (#7345)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user