From f890d857f7d9dbef6646049981c2e5133c23e717 Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Thu, 3 Jan 2019 10:06:05 -0500 Subject: [PATCH] Disable select when only one domain exiists (#29873) --- .../domain-management/add-google-apps/domains-select.jsx | 5 +++-- .../test/__snapshots__/domains-select.js.snap | 2 +- client/my-sites/domains/domain-management/style.scss | 6 ++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/client/my-sites/domains/domain-management/add-google-apps/domains-select.jsx b/client/my-sites/domains/domain-management/add-google-apps/domains-select.jsx index 550a14213df79..bd2408a41f53a 100644 --- a/client/my-sites/domains/domain-management/add-google-apps/domains-select.jsx +++ b/client/my-sites/domains/domain-management/add-google-apps/domains-select.jsx @@ -28,13 +28,14 @@ class DomainsSelect extends React.Component { } render() { - const { isRequestingSiteDomains, onChange, onFocus, value } = this.props; + const { domains, isRequestingSiteDomains, onChange, onFocus, value } = this.props; + return (