Skip to content
Snippets Groups Projects
Verified Commit 85253bc8 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Drop redundant `Task` prefix in row title in save code now detail view

Related to T3266
parent e6cce7a5
No related branches found
No related tags found
1 merge request!542Display visit status information in the save request information
......@@ -392,17 +392,17 @@ export function displaySaveRequestInfo(event, saveRequestId) {
} else {
let saveRequestInfo = [];
const taskData = {
'Task Type': ['raw', 'type'],
'Task Visit status': ['raw', 'visit_status'],
'Task Arguments': ['json', 'arguments'],
'Task Id': ['raw', 'id'],
'Task Backend id': ['raw', 'backend_id'],
'Task Scheduling date': ['date', 'scheduled'],
'Task Start date': ['date', 'started'],
'Task Termination date': ['date', 'ended'],
'Task Duration': ['duration', 'duration'],
'Task Executor': ['raw', 'worker'],
'Task Log': ['raw', 'message']
'Type': ['raw', 'type'],
'Visit status': ['raw', 'visit_status'],
'Arguments': ['json', 'arguments'],
'Id': ['raw', 'id'],
'Backend id': ['raw', 'backend_id'],
'Scheduling date': ['date', 'scheduled'],
'Start date': ['date', 'started'],
'Termination date': ['date', 'ended'],
'Duration': ['duration', 'duration'],
'Executor': ['raw', 'worker'],
'Log': ['raw', 'message']
};
for (const [title, [type, property]] of Object.entries(taskData)) {
if (saveRequestTaskInfo.hasOwnProperty(property)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment