diff --git a/frontend/src/business/components/common/head/HeaderOrgWs.vue b/frontend/src/business/components/common/head/HeaderOrgWs.vue
index 2ba49c5bac..1cc29c8dc6 100644
--- a/frontend/src/business/components/common/head/HeaderOrgWs.vue
+++ b/frontend/src/business/components/common/head/HeaderOrgWs.vue
@@ -9,7 +9,7 @@
'PROJECT_PERFORMANCE_TEST:READ','PROJECT_PERFORMANCE_REPORT:READ', 'ORGANIZATION_USER:READ',
'WORKSPACE_USER:READ']">
- {{ item.name }}
+ {{ item.name }}
@@ -113,7 +113,7 @@ export default {
changeWs(data) {
let workspaceId = data.id;
- if (!workspaceId) {
+ if (!workspaceId || getCurrentWorkspaceId() === workspaceId) {
return false;
}
const loading = fullScreenLoading(this);
diff --git a/frontend/src/business/components/common/head/HeaderUser.vue b/frontend/src/business/components/common/head/HeaderUser.vue
index 2f1bddfd3a..c084414b9d 100644
--- a/frontend/src/business/components/common/head/HeaderUser.vue
+++ b/frontend/src/business/components/common/head/HeaderUser.vue
@@ -9,12 +9,6 @@
{{ $t('commons.about_us') }}
{{ $t('commons.help_documentation') }}
{{ $t('commons.api_help_documentation') }}
-
- {{ $t('commons.cut_back_old_version') }}
-
-
- {{ $t('commons.cut_back_new_version') }}
-
{{ $t('commons.exit_system') }}