|
|
@@ -26,8 +26,6 @@ import { RouteComponentProps, withRouter } from "react-router";
|
|
|
import Banner from "components/Banner";
|
|
|
import KeyValueArray from "components/form-components/KeyValueArray";
|
|
|
import { onlyInLeft } from "shared/array_utils";
|
|
|
-import CommandLineIcon from "assets/command-line-icon";
|
|
|
-import ConnectToJobInstructionsModal from "./jobs/ConnectToJobInstructionsModal";
|
|
|
|
|
|
type PropsType = WithAuthProps &
|
|
|
RouteComponentProps & {
|
|
|
@@ -596,6 +594,7 @@ class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
isAuthorized={this.props.isAuthorized}
|
|
|
saveValuesStatus={this.state.saveValuesStatus}
|
|
|
expandJob={(job: any) => this.setJobRun(job)}
|
|
|
+ chartName={this.state.currentChart?.name}
|
|
|
/>
|
|
|
</TabWrapper>
|
|
|
);
|
|
|
@@ -811,12 +810,6 @@ class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
<TagWrapper>
|
|
|
Namespace <NamespaceTag>{chart.namespace}</NamespaceTag>
|
|
|
</TagWrapper>
|
|
|
- <CLIModalIcon
|
|
|
- onClick={(e) => {
|
|
|
- e.preventDefault();
|
|
|
- this.setState({ showConnectionModal: true });
|
|
|
- }}
|
|
|
- />
|
|
|
</TitleSection>
|
|
|
|
|
|
<InfoWrapper>
|
|
|
@@ -988,12 +981,6 @@ class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
>
|
|
|
{chart.name}{" "}
|
|
|
<Gray>at {this.readableDate(run.status.startTime)}</Gray>
|
|
|
- <CLIModalIcon
|
|
|
- onClick={(e) => {
|
|
|
- e.preventDefault();
|
|
|
- this.setState({ showConnectionModal: true });
|
|
|
- }}
|
|
|
- />
|
|
|
</TitleSection>
|
|
|
|
|
|
<InfoWrapper>
|
|
|
@@ -1051,12 +1038,6 @@ class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
) : (
|
|
|
<>{this.renderExpandedJobRun()}</>
|
|
|
)}
|
|
|
-
|
|
|
- <ConnectToJobInstructionsModal
|
|
|
- show={this.state.showConnectionModal}
|
|
|
- onClose={() => this.setState({ showConnectionModal: false })}
|
|
|
- chart={this.state.currentChart}
|
|
|
- />
|
|
|
</>
|
|
|
);
|
|
|
}
|
|
|
@@ -1374,25 +1355,3 @@ const A = styled.a`
|
|
|
margin-left: 5px;
|
|
|
cursor: pointer;
|
|
|
`;
|
|
|
-
|
|
|
-const CLIModalIcon = styled(CommandLineIcon)`
|
|
|
- width: 25px;
|
|
|
- padding: 5px;
|
|
|
- margin: 0 5px;
|
|
|
- border: 1px solid #ffffff55;
|
|
|
- border-radius: 100px;
|
|
|
- background: #ffffff11;
|
|
|
- color: white;
|
|
|
- margin-bottom: -3px;
|
|
|
- :hover {
|
|
|
- cursor: pointer;
|
|
|
- background: #ffffff22;
|
|
|
- > path {
|
|
|
- fill: #ffffff77;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- > path {
|
|
|
- fill: #ffffff99;
|
|
|
- }
|
|
|
-`;
|