diff --git a/src/router/console/xpack.js b/src/router/console/xpack.js index 0018a9bda..14fe9191d 100644 --- a/src/router/console/xpack.js +++ b/src/router/console/xpack.js @@ -1,6 +1,8 @@ import empty from '@/layout/empty' import i18n from '@/i18n/i18n' +const activateMenu = '/console/assets/assets' + export default [ { path: 'cloud', @@ -20,7 +22,7 @@ export default [ hidden: true, meta: { title: i18n.t('xpack.Cloud.CloudSync'), - activeMenu: '/console/assets/assets' + activeMenu: activateMenu } }, { @@ -71,6 +73,7 @@ export default [ hidden: true, meta: { title: i18n.t('xpack.Cloud.AccountDetail'), + activeMenu: activateMenu, permissions: ['xpack.view_account'] } } @@ -121,7 +124,8 @@ export default [ name: 'SyncInstanceTaskDetail', hidden: true, meta: { - title: i18n.t('xpack.Cloud.SyncInstanceTaskDetail') + title: i18n.t('xpack.Cloud.SyncInstanceTaskDetail'), + activeMenu: activateMenu } } ] diff --git a/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskDetail/AssetList.vue b/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskDetail/AssetList.vue index 4d0f9407c..4a47bc984 100644 --- a/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskDetail/AssetList.vue +++ b/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskDetail/AssetList.vue @@ -38,6 +38,7 @@ export default { }, tableConfig: { url: `/api/v1/xpack/cloud/sync-instance-tasks/${this.object.id}/instances/`, + hasSelection: false, columns: [ 'instance_id', { diff --git a/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskList.vue b/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskList.vue index 107377a20..9f0597653 100644 --- a/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskList.vue +++ b/src/views/assets/Cloud/SyncInstanceTask/SyncInstanceTaskList.vue @@ -58,10 +58,7 @@ export default { formatter: DetailFormatter, formatterArgs: { permissions: 'xpack.view_syncinstancedetail', - route: 'SyncInstanceTaskDetail', - routeQuery: { - activeTab: 'detail' - } + route: 'SyncInstanceTaskDetail' } }, history_count: {