diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-06-13 16:36:06 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-06-20 04:10:53 -0700 |
commit | 19fb2bab0cfcd5067bbde14f5b686b5f0360c27e (patch) | |
tree | 5c60d79f20c7c3a6f248b5a25fe7fd67899d2505 /server/sonar-web/src/main/js/api | |
parent | 71531284395e2d0f674a2942235b78974dd9a35f (diff) | |
download | sonarqube-19fb2bab0cfcd5067bbde14f5b686b5f0360c27e.tar.gz sonarqube-19fb2bab0cfcd5067bbde14f5b686b5f0360c27e.zip |
SONAR-9358 Display a first analysis spinner in the onboarding tutorial
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/ce.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/ce.js b/server/sonar-web/src/main/js/api/ce.js index 4f73f4cc948..bc4eb2283e2 100644 --- a/server/sonar-web/src/main/js/api/ce.js +++ b/server/sonar-web/src/main/js/api/ce.js @@ -38,7 +38,7 @@ export const cancelTask = (id: string): Promise<*> => export const cancelAllTasks = (): Promise<*> => post('/api/ce/cancel_all'); -export const getTasksForComponent = (componentId: string): Promise<*> => - getJSON('/api/ce/component', { componentId }); +export const getTasksForComponent = (componentKey: string): Promise<*> => + getJSON('/api/ce/component', { componentKey }); export const getTypes = (): Promise<*> => getJSON('/api/ce/task_types').then(r => r.taskTypes); |