Skip to content

Commit

Permalink
#1237 Metadata detail column schema page refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ninezero90hy committed Mar 2, 2019
1 parent e6418a6 commit 05a6143
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ export class MetadataDetailColumnschemaComponent extends AbstractComponent imple
}

private _isDescriptionExistsAndExceeds1000Characters(item: any) {
return !_.isNull(item.description) && this._isDescriptioneOver1000CharactersLong(item);
return !_.isNil(item.description) && this._isDescriptioneOver1000CharactersLong(item);
}

// noinspection JSMethodCanBeStatic
Expand Down Expand Up @@ -606,7 +606,7 @@ export class MetadataDetailColumnschemaComponent extends AbstractComponent imple
}

private _isNameExistsAndExceeds255Characters(item: any) {
return !_.isNull(item.name) && this._isNameOver255CharactersLong(item);
return !_.isNil(item.name) && this._isNameOver255CharactersLong(item);
}

// noinspection JSMethodCanBeStatic
Expand Down

0 comments on commit 05a6143

Please sign in to comment.