Skip to content

Commit

Permalink
fix(ui): overview path
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored and richardlt committed Jan 17, 2020
1 parent 3762720 commit 7afe2a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/store/applications.state.spec.ts
Expand Up @@ -295,7 +295,7 @@ describe('Applications', () => {
let overview = new Overview();
overview.git_url = 'git+ssh://thisisatest';
http.expectOne(((req: HttpRequest<any>) => {
return req.url === '/project/test1/application/app1/overview';
return req.url === '/ui/project/test1/application/app1/overview';
})).flush(overview);
store.selectOnce(ApplicationsState).subscribe(state => {
expect(Object.keys(state.overviews).length).toEqual(1);
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/store/applications.state.ts
Expand Up @@ -195,7 +195,7 @@ export class ApplicationsState {
const appKey = action.payload.projectKey + '/' + action.payload.applicationName;

return this._http.get<Overview>(
`/project/${action.payload.projectKey}/application/${action.payload.applicationName}/overview`
`/ui/project/${action.payload.projectKey}/application/${action.payload.applicationName}/overview`
).pipe(tap((overview) => {
ctx.setState({
...state,
Expand Down

0 comments on commit 7afe2a8

Please sign in to comment.