mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-11 19:41:55 +00:00
Fixed: Fix the issue with the automation names in the table.
This commit is contained in:
parent
6a13526c87
commit
e3626c2f9e
@ -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 }
|
||||||
|
Loading…
Reference in New Issue
Block a user