Skip to content

Commit 110364b

Browse files
antleblancvarun257
andcommitted
fix(apps.public.cloud): get default project
ref: MBP-537 Co-authored-by: varun257 <varun257@gmail.com>
1 parent 0810114 commit 110364b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/manager/apps/public-cloud/src/index.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default class PublicCloud {
5555
return this.ovhUserPref
5656
.getValue(DEFAULT_PROJECT_KEY)
5757
.then((project) => {
58-
if (!projectsIds.includes(project)) {
58+
if (!projectsIds.includes(project.projectId)) {
5959
this.ovhUserPref.remove(DEFAULT_PROJECT_KEY);
6060
return null;
6161
}

0 commit comments

Comments
 (0)