diff --git a/src/frontend/devops-repository/src/components/GlobalUploadViewport/index.vue b/src/frontend/devops-repository/src/components/GlobalUploadViewport/index.vue index 1eeb8a2b87..957da70f5c 100644 --- a/src/frontend/devops-repository/src/components/GlobalUploadViewport/index.vue +++ b/src/frontend/devops-repository/src/components/GlobalUploadViewport/index.vue @@ -210,7 +210,7 @@ repoName: repoName } }).then(res => { - if (res !== '') { + if (res !== '' && res !== null) { this.showIamDenyDialog = true this.showData = { projectId: projectId, diff --git a/src/frontend/devops-repository/src/components/Header/index.vue b/src/frontend/devops-repository/src/components/Header/index.vue index 10a8e2a73e..6f39c48dc8 100644 --- a/src/frontend/devops-repository/src/components/Header/index.vue +++ b/src/frontend/devops-repository/src/components/Header/index.vue @@ -203,7 +203,7 @@ uid: this.userInfo.name } }).then(res => { - if (res !== '') { + if (res !== '' && res !== null) { window.open(res, '_blank') } }) diff --git a/src/frontend/devops-repository/src/components/IamDenyDialog/IamDenyDialog.vue b/src/frontend/devops-repository/src/components/IamDenyDialog/IamDenyDialog.vue index fcc3fb458f..23723e3620 100644 --- a/src/frontend/devops-repository/src/components/IamDenyDialog/IamDenyDialog.vue +++ b/src/frontend/devops-repository/src/components/IamDenyDialog/IamDenyDialog.vue @@ -1,5 +1,5 @@