Skip to content

Commit

Permalink
Fixes liferay#1330 - Pass the date data to _dataSource when the data …
Browse files Browse the repository at this point in the history
…is locally
  • Loading branch information
matuzalemsteles committed Dec 4, 2018
1 parent f577fc9 commit b2dc075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/clay-data-provider/src/ClayDataProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class ClayDataProvider extends ClayComponent {
this._isResolvedData = false;
this._pollingInterval = 0;
if (this._hasData(this.data)) {
this._dataSource = this.data;
this._isResolvedData = true;
} else {
this._fetchData();
Expand Down

0 comments on commit b2dc075

Please sign in to comment.