diff --git a/packages/cp-frontend/src/components/service/delete.js b/packages/cp-frontend/src/components/service/delete.js index d781a48c..ca40b6b3 100644 --- a/packages/cp-frontend/src/components/service/delete.js +++ b/packages/cp-frontend/src/components/service/delete.js @@ -18,7 +18,7 @@ const propTypes = { onConfirmClick: PropTypes.func.isRequired }; -const ServiceDelete = ({ service, onCancelClick, onConfirmClick }) => ( +const ServiceDelete = ({ service, onCancelClick, onConfirmClick }) =>
Deleting a service:
{service.name} @@ -29,8 +29,7 @@ const ServiceDelete = ({ service, onCancelClick, onConfirmClick }) => ( -
-); + ; ServiceDelete.propTypes = propTypes; diff --git a/packages/cp-frontend/src/components/services/quick-actions.js b/packages/cp-frontend/src/components/services/quick-actions.js index 5f7a87bf..86707bbd 100644 --- a/packages/cp-frontend/src/components/services/quick-actions.js +++ b/packages/cp-frontend/src/components/services/quick-actions.js @@ -3,7 +3,6 @@ import PropTypes from 'prop-types'; import { Tooltip, TooltipButton, TooltipDivider } from 'joyent-ui-toolkit'; const ServicesQuickActions = ({ show, position, service, url, onBlur }) => { - if (!show) { return null; } diff --git a/packages/cp-frontend/src/containers/services/list.js b/packages/cp-frontend/src/containers/services/list.js index 35a1800e..0bb36caa 100644 --- a/packages/cp-frontend/src/containers/services/list.js +++ b/packages/cp-frontend/src/containers/services/list.js @@ -58,9 +58,10 @@ class ServiceList extends Component { const buttonRect = button.getBoundingClientRect(); const position = { - left: buttonRect.left - - listRect.left + - (buttonRect.right - buttonRect.left) / 2, + left: + buttonRect.left - + listRect.left + + (buttonRect.right - buttonRect.left) / 2, top: buttonRect.bottom - listRect.top };