From f091b75c9408cfdef42b2c29c6f811e868c15d09 Mon Sep 17 00:00:00 2001 From: Grzegorz Godlewski Date: Sun, 24 Sep 2023 19:15:57 +0200 Subject: [PATCH] Fix log link --- src/containers/job/JobManagerContainer.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/containers/job/JobManagerContainer.ts b/src/containers/job/JobManagerContainer.ts index 2e136055..98f27655 100644 --- a/src/containers/job/JobManagerContainer.ts +++ b/src/containers/job/JobManagerContainer.ts @@ -361,7 +361,7 @@ export class JobManagerContainer extends Container { type: 'upload:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, }); } @@ -372,7 +372,7 @@ export class JobManagerContainer extends Container { type: 'git_reset:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, }); } @@ -383,7 +383,7 @@ export class JobManagerContainer extends Container { type: 'git_commit:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, }); } @@ -394,7 +394,7 @@ export class JobManagerContainer extends Container { type: 'git_push:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, }); } @@ -406,7 +406,7 @@ export class JobManagerContainer extends Container { type: 'sync:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, payload: 'all' }); @@ -802,7 +802,7 @@ export class JobManagerContainer extends Container { type: 'transform:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, payload: currentJob.payload || 'all' }); @@ -824,7 +824,7 @@ export class JobManagerContainer extends Container { type: 'run_action:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' } }); throw err; @@ -857,7 +857,7 @@ export class JobManagerContainer extends Container { type: 'git_pull:failed', err: err.message, links: { - '#drive_logs': 'View logs' + ['#drive_logs:' + currentJob.id]: 'View logs' }, }); throw err;