diff --git a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue index a37039d0a..14a416d5e 100644 --- a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue +++ b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue @@ -61,10 +61,10 @@ export default { formatter: DetailFormatter, formatterArgs: { drawer: true, - getTitle: ({ row }) => row.snapshot.name, + getTitle: ({ row }) => row.automation.name, getRoute: ({ row }) => ({ name: 'AccountBackupDetail', - params: { id: row.automation } + params: { id: row.automation.id } }) }, id: ({ row }) => row.automation diff --git a/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue index 2e5a3f3ca..f5fbd761b 100644 --- a/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue +++ b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue @@ -55,12 +55,12 @@ export default { formatterArgs: { drawer: true, getDrawerTitle({ row }) { - return row.snapshot.name + return row.automation.name }, - getTitle: ({ row }) => row.snapshot.name, + getTitle: ({ row }) => row.automation.name, getRoute: ({ row }) => ({ name: 'AccountChangeSecretDetail', - params: { id: row.automation } + params: { id: row.automation.id } }) }, id: ({ row }) => row.automation diff --git a/src/views/accounts/AccountDiscover/TaskExecutionList.vue b/src/views/accounts/AccountDiscover/TaskExecutionList.vue index 43e18ddf8..126816835 100644 --- a/src/views/accounts/AccountDiscover/TaskExecutionList.vue +++ b/src/views/accounts/AccountDiscover/TaskExecutionList.vue @@ -67,10 +67,10 @@ export default { label: this.$t('Automation'), formatter: DetailFormatter, formatterArgs: { - getTitle: ({ row }) => row.snapshot.name, + getTitle: ({ row }) => row.automation.name, getRoute: ({ row }) => ({ name: 'AccountDiscoverTaskDetail', - params: { id: row.automation } + params: { id: row.automation.id } }), drawer: true }, diff --git a/src/views/accounts/AccountPush/AccountPushExecutionList.vue b/src/views/accounts/AccountPush/AccountPushExecutionList.vue index b3c745ae5..ff5df18d8 100644 --- a/src/views/accounts/AccountPush/AccountPushExecutionList.vue +++ b/src/views/accounts/AccountPush/AccountPushExecutionList.vue @@ -60,13 +60,13 @@ export default { formatter: DetailFormatter, formatterArgs: { drawer: true, - getTitle: ({ row }) => row.snapshot.name, + getTitle: ({ row }) => row.automation.name, getRoute: ({ row }) => ({ name: 'AccountPushDetail', - params: { id: row.automation } + params: { id: row.automation.id } }), getDrawerTitle({ row }) { - return row.snapshot.name + return row.automation.name } }, id: ({ row }) => row.automation diff --git a/src/views/accounts/RiskDetect/AccountCheckExecutionList.vue b/src/views/accounts/RiskDetect/AccountCheckExecutionList.vue index b45fd47e7..e2cc7d34b 100644 --- a/src/views/accounts/RiskDetect/AccountCheckExecutionList.vue +++ b/src/views/accounts/RiskDetect/AccountCheckExecutionList.vue @@ -61,10 +61,10 @@ export default { formatter: DetailFormatter, formatterArgs: { drawer: true, - getTitle: ({ row }) => row.snapshot.name, + getTitle: ({ row }) => row.automation.name, getRoute: ({ row }) => ({ name: 'AccountCheckDetail', - params: { id: row.automation } + params: { id: row.automation.id } }) }, id: ({ row }) => row.automation