aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js
index 2f5893e8bed..e05dfb1f2cb 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskLogsLink.js
@@ -20,7 +20,7 @@
import React from 'react';
import { translate } from '../../../helpers/l10n';
-export default function TaskLogsLink ({ task }) {
+const TaskLogsLink = ({ task }) => {
const url = `${window.baseUrl}/api/ce/logs?taskId=${task.id}`;
return (
@@ -30,4 +30,6 @@ export default function TaskLogsLink ({ task }) {
{translate('background_tasks.logs')}
</a>
);
-}
+};
+
+export default TaskLogsLink;