diff --git a/ng/src/web/pages/tasks/icons/resumeicon.js b/ng/src/web/pages/tasks/icons/resumeicon.js index f0f04b5bc0..e7d3ff7ba5 100644 --- a/ng/src/web/pages/tasks/icons/resumeicon.js +++ b/ng/src/web/pages/tasks/icons/resumeicon.js @@ -2,9 +2,10 @@ * * Authors: * Björn Ricks + * Steffen Waterkamp * * Copyright: - * Copyright (C) 2017 Greenbone Networks GmbH + * Copyright (C) 2017 - 2018 Greenbone Networks GmbH * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -33,7 +34,7 @@ import Icon from '../../../components/icon/icon.js'; const ResumeIcon = ({ size, task, - onClick + onClick, }, {capabilities}) => { if (task.isContainer()) { @@ -56,7 +57,7 @@ const ResumeIcon = ({ ); } - if (task.isStopped()) { + if (task.isStopped() || task.isInterrupted()) { if (capabilities.mayOp('resume_task')) { return (