diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/components/TaskStatus.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/background-tasks/components/TaskStatus.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskStatus.js b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskStatus.js index 060e397a137..69e4ad97cf1 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskStatus.js +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskStatus.js @@ -23,7 +23,7 @@ import { STATUSES } from './../constants'; import PendingIcon from '../../../components/shared/pending-icon'; import { translate } from '../../../helpers/l10n'; -export default function TaskStatus ({ task }) { +const TaskStatus = ({ task }) => { let inner; switch (task.status) { @@ -47,4 +47,6 @@ export default function TaskStatus ({ task }) { } return <td className="thin spacer-right">{inner}</td>; -} +}; + +export default TaskStatus; |