8000 fix(api,ui): load integration + fix base url (#4732) · ovh/cds@cdbcd3c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit cdbcd3c

Browse files
sguiheuxfsamin
authored andcommitted
fix(api,ui): load integration + fix base url (#4732)
1 parent 4ab789f commit cdbcd3c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

engine/api/repositories_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ func (api *API) attachRepositoriesManagerHandler() service.Handler {
546546

547547
// Update default payload of linked workflow root
548548
if len(usage.Workflows) > 0 {
549-
proj, errP := project.Load(db, api.Cache, projectKey, u)
549+
proj, errP := project.Load(db, api.Cache, projectKey, u, project.LoadOptions.WithIntegrations)
550550
if errP != nil {
551551
return sdk.WrapError(errP, "attachRepositoriesManager> Cannot load project")
552552
}

ui/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ export class AppComponent implements OnInit {
115115
this.isConnected = true;
116116
this.startSSE();
117117
}
118-
this.startVersionWorker();
119118
});
119+
this.startVersionWorker();
120120

121121
this._routerSubscription = this._router.events
122122
.pipe(filter((event) => event instanceof ResolveStart || event instanceof ResolveEnd))

ui/src/assets/worker/web/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ (e) {
55
if (e.data.mode === 'local') {
66
url = '/assets/version.json';
77
} else {
8-
url = '/mon/version';
8+
url = 'mon/version';
99
}
1010
loadVersion(url);
1111
};

0 commit comments

Comments
 (0)
0