Sha256: 9ca9e8d2ecaa578c31080b4db9a6178f908e82711cc81a86280a1b18ee83e99f

Contents?: true

Size: 388 Bytes

Versions: 9

Compression:

Stored size: 388 Bytes

Contents

import {
    selectAPIStatus,
    selectAPIResponse,
} from 'foremanReact/redux/API/APISelectors';
import { ROUNDS } from './RoundsConsts';

export const selectItems = state =>
  selectAPIResponse(state, ROUNDS).rounds || [];

export const selectAutoRefresh = state =>
  selectAPIResponse(state, ROUNDS).autoRefresh;

export const selectStatus = state => selectAPIStatus(state, ROUNDS);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_patch-1.2.1 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.2.0 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.2.0.alpha1 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.1.6.alpha5 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.1.6.alpha4 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.1.5 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.1.4 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.1.3 webpack/components/Rounds/RoundsSelectors.js
foreman_patch-1.1.1 webpack/components/Rounds/RoundsSelectors.js