fix task run doesn't show name in history tab fixes #1097

This commit is contained in:
wh1te909
2022-05-10 19:21:49 +00:00
parent 22b29d3fd3
commit ff5053ae86

View File

@@ -103,10 +103,7 @@ const columns = [
{
name: "command",
label: "Script/Command",
field: (row) =>
row.type === "script_run" || row.type === "task_run"
? row.script_name
: row.command,
field: (row) => (row.type === "script_run" ? row.script_name : row.command),
align: "left",
sortable: true,
format: (val) => truncateText(val, 30),