code: function getEligibleGSuiteDomain( selectedDomainName, domains ) {
  	if ( selectedDomainName && canDomainAddGSuite( selectedDomainName ) ) {
  		return selectedDomainName;
  	}
  	const [ eligibleDomain ] = getGSuiteSupportedDomains( domains );
  	return ( eligibleDomain && eligibleDomain.name ) || '';
  }
docs: Retrieves the first domain that is eligible to G Suite either from the current selected site or the list of domains.
  
  @param {String} selectedDomainName - domain name for the site currently selected by the user
  @param {Array} domains - list of domain objects
  @returns {String} - Eligible domain name