Maintenance mode support - removing Maintenance mode disclaimer from Stop Run confirmation
@@ -27,7 +27,6 @@ import PipelineRunCommit from '../../../models/pipelines/PipelineRunCommit';
import StopPipeline from '../../../models/pipelines/StopPipeline';
import TerminatePipeline from '../../../models/pipelines/TerminatePipeline';
import getCommitAllowedForTool from './get-commit-allowed-for-tool';
-import {MAINTENANCE_MODE_DISCLAIMER} from '../../../models/preferences/PreferencesLoad';
export function canStopRun (run) {
// Checks only run state, not user permissions
@@ -434,14 +433,6 @@ class StopRunConfirmation extends React.Component {
Do you want to persist current docker image state?
</Row>
}
- {
- this.props.canCommitRun && commitAllowed && maintenanceMode &&
- <Alert
- type="info"
- showIcon
- message={MAINTENANCE_MODE_DISCLAIMER}
- />
- }
{
this.props.canCommitRun && commitAllowed && !maintenanceMode &&
<Row type="flex" style={{marginBottom: 5}}>
