diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-05-13 01:02:41 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-22 22:56:12 +0300 |
commit | 4158342b5005a401e30187961e82ad01a9b86782 (patch) | |
tree | 92aec47bfd3e048b799d09aa35cf5b5b1b0bef62 /app/assets/javascripts/environments/services | |
parent | ebede2b3ff1c2b089529c4f9d6268641580e280b (diff) |
Adds polling function to environments table
Adds missing eventhub to folder table
Diffstat (limited to 'app/assets/javascripts/environments/services')
-rw-r--r-- | app/assets/javascripts/environments/services/environments_service.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/environments/services/environments_service.js b/app/assets/javascripts/environments/services/environments_service.js index 8adb53ea86d..03ab74b3338 100644 --- a/app/assets/javascripts/environments/services/environments_service.js +++ b/app/assets/javascripts/environments/services/environments_service.js @@ -10,7 +10,8 @@ export default class EnvironmentsService { this.folderResults = 3; } - get(scope, page) { + get(options = {}) { + const { scope, page } = options; return this.environments.get({ scope, page }); } |