diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 7aa42f93..988906b9 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -213,7 +213,7 @@ const withCopyEdit = (WrappedComponent) => { onSubmit={this.handleSubmit}> { - (this.props.mode === 'edit' && this.props.inactive) ? + (this.props.inactive) ? @@ -240,14 +240,36 @@ const withCopyEdit = (WrappedComponent) => { type="submit" className="btn btn-primary"> Save - + } : null } - : + : +
+ { + (this.props.inactive)? + + + + + : + + } +
} );