Sha256: 43b98198802a0994d4857c225368df1b3a7ecc299ec8cb4a0136e1b3f26308c9

Contents?: true

Size: 661 Bytes

Versions: 54

Compression:

Stored size: 661 Bytes

Contents

import React from 'react';
import { useSelector, useDispatch } from 'react-redux';
import { CloudConnectorButton } from './CloudConnectorButton';
import { configureCloudConnector } from './CloudConnectorActions';
import { selectStatus, selectJobLink } from './CloudConnectorSelectors';

const ConnectedCloudConnectorButton = () => {
  const status = useSelector(selectStatus);
  const jobLink = useSelector(selectJobLink);
  const dispatch = useDispatch();

  return (
    <CloudConnectorButton
      status={status}
      onClick={() => dispatch(configureCloudConnector())}
      jobLink={jobLink}
    />
  );
};

export default ConnectedCloudConnectorButton;

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
foreman_rh_cloud-5.0.46 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.45 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.44 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.43 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-4.0.36 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-3.0.33 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-6.0.42.2 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-6.0.42.1 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.42 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-6.0.42 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.41 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.39 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.38 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-4.0.35 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.37 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.36 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.35 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.34 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-5.0.33 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
foreman_rh_cloud-3.0.32 webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js