From aba9715aa0e4fcf433f3f7639098823e95db8c83 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 27 Aug 2015 16:27:17 +0200 Subject: [PATCH] SONAR-6485 use "id" instead of "uuid" --- .../src/main/js/apps/project-permissions/permissions.jsx | 2 +- .../src/main/js/apps/project-permissions/project.jsx | 4 ++-- .../src/test/json/permissions/project-permissions.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/project-permissions/permissions.jsx b/server/sonar-web/src/main/js/apps/project-permissions/permissions.jsx index 4638c209651..4ae679f345c 100644 --- a/server/sonar-web/src/main/js/apps/project-permissions/permissions.jsx +++ b/server/sonar-web/src/main/js/apps/project-permissions/permissions.jsx @@ -11,7 +11,7 @@ export default React.createClass({ render() { let projects = this.props.projects.map(p => { - return + return }); return ( diff --git a/server/sonar-web/src/main/js/apps/project-permissions/project.jsx b/server/sonar-web/src/main/js/apps/project-permissions/project.jsx index 9d7baf2b0a5..b0da14dcb18 100644 --- a/server/sonar-web/src/main/js/apps/project-permissions/project.jsx +++ b/server/sonar-web/src/main/js/apps/project-permissions/project.jsx @@ -13,7 +13,7 @@ export default React.createClass({ e.preventDefault(); new GroupsView({ permission: permission, - project: this.props.project.uuid, + project: this.props.project.id, projectName: this.props.project.name, refresh: this.props.refresh }).render(); @@ -23,7 +23,7 @@ export default React.createClass({ e.preventDefault(); new UsersView({ permission: permission, - project: this.props.project.uuid, + project: this.props.project.id, projectName: this.props.project.name, refresh: this.props.refresh }).render(); diff --git a/server/sonar-web/src/test/json/permissions/project-permissions.json b/server/sonar-web/src/test/json/permissions/project-permissions.json index 657f05042ef..92ec017304c 100644 --- a/server/sonar-web/src/test/json/permissions/project-permissions.json +++ b/server/sonar-web/src/test/json/permissions/project-permissions.json @@ -1,7 +1,7 @@ { "projects": [ { - "uuid": "10c394cc-c37c-4cf0-97b9-360165c47270", + "id": "10c394cc-c37c-4cf0-97b9-360165c47270", "key": "my-project", "name": "My Project", "permissions": [ @@ -18,7 +18,7 @@ ] }, { - "uuid": "5d2408c9-b5c6-4426-8ee8-05be930a5f62", + "id": "5d2408c9-b5c6-4426-8ee8-05be930a5f62", "key": "another-project", "name": "Another Project", "permissions": [ -- 2.39.5