Sha256: 11fe15873a7e8962e32791c8cc714fa0c16894fb74e6eec372260e34ede3b99d

Contents?: true

Size: 425 Bytes

Versions: 6

Compression:

Stored size: 425 Bytes

Contents

import {
  selectAPIStatus,
  selectAPIResponse,
} from 'foremanReact/redux/API/APISelectors';
import { TARGETING_HOSTS } from './TargetingHostsConsts';

export const selectItems = state =>
  selectAPIResponse(state, TARGETING_HOSTS).hosts || [];

export const selectAutoRefresh = state =>
  selectAPIResponse(state, TARGETING_HOSTS).autoRefresh;
export const selectStatus = state => selectAPIStatus(state, TARGETING_HOSTS);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_remote_execution-3.3.7 webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js
foreman_remote_execution-3.3.6 webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js
foreman_remote_execution-3.3.5 webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js
foreman_remote_execution-3.3.4 webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js
foreman_remote_execution-3.3.3 webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js
foreman_remote_execution-3.3.2 webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js