Skip to content

Commit

Permalink
chore(deployment-tool): replace +/- details toggle with appropriate icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Nov 22, 2019
1 parent 7ca70ae commit 5ca305d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/resources/icons/ChevronDown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions client/resources/icons/ChevronUp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions client/src/plugins/deployment-tool/DeploymentDetailsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ import {
omit
} from 'min-dash';

import ExpandIcon from 'icons/ChevronDown.svg';
import CollapseIcon from 'icons/ChevronUp.svg';

import css from './DeploymentDetailsModal.less';

import AuthTypes from './AuthTypes';
Expand Down Expand Up @@ -214,8 +217,8 @@ export default class DeploymentDetailsModal extends React.PureComponent {
>
{
(deploymentDetailsShown)
? '-'
: '+'
? <CollapseIcon className="icon" />
: <ExpandIcon className="icon" />
}
</button>
</legend>
Expand Down

0 comments on commit 5ca305d

Please sign in to comment.