Skip to content

Instantly share code, notes, and snippets.

@gitjs77
Created August 10, 2017 13:53
Show Gist options
  • Save gitjs77/255267859b0e2a290488966be43c9983 to your computer and use it in GitHub Desktop.
Save gitjs77/255267859b0e2a290488966be43c9983 to your computer and use it in GitHub Desktop.
fetchRows = window => {
if (window['groupId'] === null || window['groupId'] === undefined || window['groupId'] === 0) {
delete window['groupId'];
}
return get('/constants', this.isFilterNotEmpty() ? window : Object.assign(window, { sort: 'propertyGroupId', order: 'asc' }));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment