mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 17:54:37 +00:00
Fixed: Fix the issue with the automation names in the table.
This commit is contained in:
@@ -87,8 +87,8 @@ export default {
|
|||||||
formatter: DetailFormatter,
|
formatter: DetailFormatter,
|
||||||
minWidth: '180px',
|
minWidth: '180px',
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
getTitle: ({ row }) => row.snapshot.name,
|
getTitle: ({ row }) => row.automation?.name || row.snapshot.name,
|
||||||
getDrawerTitle: ({ row }) => row.snapshot.name,
|
getDrawerTitle: ({ row }) => row.automation?.name || row.snapshot.name,
|
||||||
getRoute: ({ row }) => ({
|
getRoute: ({ row }) => ({
|
||||||
name: this.automationRoute,
|
name: this.automationRoute,
|
||||||
params: { id: row.automation.id }
|
params: { id: row.automation.id }
|
||||||
|
Reference in New Issue
Block a user